![photo](/responsive_image/150/150/0/0/0/cache/matlabcentral/profiles/23004885_1625507868255_DEF.jpg)
Soniya Jain
Followers: 0 Following: 0
Feeds
已回答
How do I plot a function with a variable that has multiple values?
Note that the below code will just plot a graph with the marker we mention and not any line on it. X = [0, 0.5, 1]; Y = [0.5];...
How do I plot a function with a variable that has multiple values?
Note that the below code will just plot a graph with the marker we mention and not any line on it. X = [0, 0.5, 1]; Y = [0.5];...
3 years 前 | 0
已回答
find sum of the run length of non zero elements between zeros of a matrix
a=[ 1 2 3 0 0 0 4 5 6 0 0 0 7 8 0 0 9 0 0 ]; j = 0; i = 1; while i ~= (length(a)+1) if a(i)~=0 sum = 0; ...
find sum of the run length of non zero elements between zeros of a matrix
a=[ 1 2 3 0 0 0 4 5 6 0 0 0 7 8 0 0 9 0 0 ]; j = 0; i = 1; while i ~= (length(a)+1) if a(i)~=0 sum = 0; ...
3 years 前 | 0
已回答
i have two arrays in matlab code and i want to plot them by two lines on the same graph
You can use plot function, plot(Array1); hold on; plot(Array2); hold off; hold will retain current plot when adding new plo...
i have two arrays in matlab code and i want to plot them by two lines on the same graph
You can use plot function, plot(Array1); hold on; plot(Array2); hold off; hold will retain current plot when adding new plo...
3 years 前 | 0
已回答
find non zero elements in array
As mentioned in the error, that y is non-tunable, so have you tried to select the 'Variable Size' checkbox by specifying the upp...
find non zero elements in array
As mentioned in the error, that y is non-tunable, so have you tried to select the 'Variable Size' checkbox by specifying the upp...
3 years 前 | 0
已回答
How to fill an array with the elements of a for loop?
Use element(c) instead
How to fill an array with the elements of a for loop?
Use element(c) instead
3 years 前 | 0
| 已接受
已回答
Hello, i have a table with many rows and 3 columns. In the first column some values are NaN. How can i put NaN values in the other columns in the same rows?
Hey, you can use isnan() function to find the location where values are NaN in the 1st column, A = [NaN,4,7; NaN,5,8; 3,6,9]; ...
Hello, i have a table with many rows and 3 columns. In the first column some values are NaN. How can i put NaN values in the other columns in the same rows?
Hey, you can use isnan() function to find the location where values are NaN in the 1st column, A = [NaN,4,7; NaN,5,8; 3,6,9]; ...
3 years 前 | 1
已回答
Susbtracting elements of a column with every other element but in a particular order without repeating same susbtraction in reverse order.
Hey you can store the values A1, A2,.. in a vector, i hope you find the below code useful, A(1) = -2.35007; A(2) = -8.61753; ...
Susbtracting elements of a column with every other element but in a particular order without repeating same susbtraction in reverse order.
Hey you can store the values A1, A2,.. in a vector, i hope you find the below code useful, A(1) = -2.35007; A(2) = -8.61753; ...
3 years 前 | 0
| 已接受
已回答
Delete first row matrix and records new value
To find mean of matrix, you can refer Matlab documentation: https://in.mathworks.com/help/matlab/ref/mean.html What do you mean...
Delete first row matrix and records new value
To find mean of matrix, you can refer Matlab documentation: https://in.mathworks.com/help/matlab/ref/mean.html What do you mean...
3 years 前 | 0