photo

Soniya Jain


Last seen: 3年弱 前 2021 年からアクティブ

Followers: 0   Following: 0

統計

  • Knowledgeable Level 1
  • First Answer

バッジを表示

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

約3年 前 | 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年 前 | 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...

約3年 前 | 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...

約3年 前 | 0

回答済み
How to fill an array with the elements of a for loop?
Use element(c) instead

約3年 前 | 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]; ...

約3年 前 | 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; ...

約3年 前 | 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...

約3年 前 | 0