Community Profile

# Aveek Podder

### MathWorks

31 total contributions since 2017

I work at Mathworks.

View details...

Contributions in
View by

Solved

Check that number is whole number
Check that number is whole number Say x=15, then answer is 1. x=15.2 , then answer is 0. <http://en.wikipedia.org/wiki/Whole...

8 meses ago

Can not connect the output of PWM to a Gate Driver
The input to ' _Gate Driver_' block can be both a Physical signal input, Electrical input ports. Current the ' _Gate Driver_'...

más de 1 año ago | 0

Difference 'function A=function_filename(c,d) and 'A=function_filename(c,d)'
*function A=function_filename(c,d)* declares a function named function_filename that accepts inputs c,d and returns outputs A. ...

más de 1 año ago | 0

| accepted

Why does my array do this?
Instruction 'B = 1:m' will create a vector consisting of [1,2,3,...,k] where k is [m]. I think you want to append m at the en...

más de 1 año ago | 0

Sum specific intervals of rows for a matrix
Hi, I believe you want to sum the 12 consecutive columns of a Matrix and convert it to one column. Doing this Matrix *a* of s...

casi 2 años ago | 0

| accepted

How to feed parameters in DC machine model for any given name plate details?
Hi, You can use the Preset model in the Configuration tab. The Preset model provides a set of predetermined electrical and me...

casi 2 años ago | 0

Lsim with two input signal
Hi, The input matrix *B* defined is a 3x2 Matrix, by doing this we have defined a two-input system. For *lsim* to function as...

casi 2 años ago | 0

Evaluate zeros of a symbolic trigonometric function
Hi, You can use ' *solve*' command to solve the equation.For more information on ' *solve*', please have a look at the follow...

casi 2 años ago | 0

I have a graph each time when I run according to the random number it will generate a new graph(TIME&VELOCITY) .Now I want to save each graphs time and velocity in order to upload and use it to other program .How should I do it?
Hi, You can use 'gca' command to get the axis properties of a figure and access its children (line) properties like XData and...

casi 2 años ago | 0

Writing a Gaussion Elimination function with 4 inputs
Hi, I assume that you are receiving the following error: Assignment has more non-singleton rhs dimensions than non-singl...

casi 2 años ago | 0

Modelling A Matlab Project
Hi, Stateflow is an environment for modeling and simulating combinatorial and sequential decision logic based on state machin...

casi 2 años ago | 0

casi 2 años ago | 0

Hi, The two most common causes of License Manager Error -9 are: * The MATLAB license file was activated for a different co...

casi 2 años ago | 0

I have a matrix of coordinates (20 by 3) and the norm of some of the consecutive coordinates is less than a threshold. How can I delete those data?
Hi, You can assign rows of a Matrix to an empty vector. To use the following command: matrix([row_indices],:) = []; F...

casi 2 años ago | 0

piecewise function plot issue,
By default, fplot has a xinterval of [-5,5]. Passing the desired xinterval as an argument should solve the issue. fplot(p2,...

casi 2 años ago | 0

Subtract two vectors while shifting them along
Hi, You can use length command of Matlab to get the size of the array and write a for loop and proper indexing of the array t...

casi 2 años ago | 0

| accepted

Bode plot for nonlinear equation
Hi, You can use the 'fft' command of MATLAB to find the frequency analysis of the impulse response for the function and plot ...

alrededor de 2 años ago | 0

how to model a wye-delta-delta transformer?
Hi, One way of Modeling the transformer could be by referring the entire 3 Phase three winding transformer to the primary sid...

alrededor de 2 años ago | 0

Hello I have this code for Game of life now I am getting an error in calculating the num_neighbors. Please help me fix it. Thank you
Hi, I think you are receiving an "Index exceeds matrix dimensions" error, that is due to the fact that the elements in vector...

alrededor de 2 años ago | 0

Row Echeleon Form/Forward elimination only
Hi, You are accessing the element of array3 by using linear indexing and you trying to fill it with a row vector. So you are ...

alrededor de 2 años ago | 0

| accepted

Help with Inverse Laplace Transform Function
Hi, The ilaplace function computes the analytic closed inverse Laplace form of a transfer function. It seems that mathematica...

alrededor de 2 años ago | 0

Change referenced model simulation mode programmatically
Hi, You can use 'set_param' command to change the simulation mode of the model. The following command can be used to set t...

alrededor de 2 años ago | 0

DC Motor position control: Downward slope is much less than upward
Hi, It seems the model tracking the input signal properly for a low frequency sine wave input(5 Hz). I believe the control-lo...

alrededor de 2 años ago | 0

How do I find the maximum average score for this code in my loop
Hi, You can store the average values in an array and use 'max' function outside the loop to get the maximum Value and indices. ...

alrededor de 2 años ago | 0

what are the suitable membership functions and conditions to obtain the attached graph?
Hi, Once you have the data available. You can use surf and colormap methods to plot the above graph.

alrededor de 2 años ago | 0

Import a .txt into a cell of a table?
Hi, You can use CellSelectionCallback and uigetfile to load data from a file.

alrededor de 2 años ago | 0

Help with Newton Raphson question.
Your code for Newton-Raphson Method seems good and it should work perfectly. For Modified Newton method the value of m you sh...

alrededor de 2 años ago | 0

| accepted

Which type of winding is available in Permanent Magnet Synchronous Machine of simulink library
Hi, The stator windings of a Permanent Magnet Synchronous Machine is connected as star type to an internal neutral point. Ple...

más de 2 años ago | 0

| accepted