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...

6 months 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_'...

1 year 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. ...

1 year 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...

1 year 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...

1 year 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...

1 year 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...

1 year 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...

1 year 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...

1 year 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...

1 year ago | 0

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

1 year ago | 0

1 year ago | 0

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

1 year 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...

1 year 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,...

1 year 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...

2 years 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 ...

2 years 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...

2 years 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...

2 years 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 ...

2 years 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...

2 years 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...

2 years 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...

2 years 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. ...

2 years 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.

2 years ago | 0

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

2 years 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...

2 years 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...

2 years ago | 0

| accepted