photo

Soniya Jain


Last seen: alrededor de 3 años hace Con actividad desde 2021

Followers: 0   Following: 0

Estadística

  • Knowledgeable Level 1
  • First Answer

Ver insignias

Feeds

Ver por

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

más de 3 años hace | 0

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

más de 3 años hace | 0

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

más de 3 años hace | 0

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

más de 3 años hace | 0

Respondida
How to fill an array with the elements of a for loop?
Use element(c) instead

más de 3 años hace | 0

| aceptada

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

más de 3 años hace | 1

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

más de 3 años hace | 0

| aceptada

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

más de 3 años hace | 0