photo

Sachin Patil


Last seen: environ 4 ans il y a Actif depuis 2016

Followers: 0   Following: 0

Statistiques

MATLAB Answers

10 Questions
1 Réponse

RANG
225 993
of 301 127

RÉPUTATION
0

CONTRIBUTIONS
10 Questions
1 Réponse

ACCEPTATION DE VOS RÉPONSES
40.0%

VOTES REÇUS
0

RANG
 of 21 175

RÉPUTATION
N/A

CLASSEMENT MOYEN
0.00

CONTRIBUTIONS
0 Fichier

TÉLÉCHARGEMENTS
0

ALL TIME TÉLÉCHARGEMENTS
0

RANG

of 172 925

CONTRIBUTIONS
0 Problèmes
0 Solutions

SCORE
0

NOMBRE DE BADGES
0

CONTRIBUTIONS
0 Publications

CONTRIBUTIONS
0 Public Chaîne

CLASSEMENT MOYEN

CONTRIBUTIONS
0 Point fort

NOMBRE MOYEN DE LIKES

  • Thankful Level 1
  • First Answer

Afficher les badges

Feeds

Afficher par

Question


How to access Data Memory block in state flow? Please explain with example?
Can we store a huge array in the data memory block and how to access those array elements please show a demo example

environ 9 ans il y a | 1 réponse | 0

0

réponse

Question


As shown in following code. inp contains 10*4 matrix. I am processing each row but i am getting processed output for the first row and for remaining row I am getting NaN value. why I am getting like that? where is the error?
% I am using this code in simulink model, where Input matrix(10*4) will change for every 1/60 seconds. %code function op ...

plus de 9 ans il y a | 2 réponses | 0

2

réponses

Question


I am running for loop for 10 times, each time I am getting op as a matrix of size 1*4. I want to store each op so that i will get 10 * 4 matrix?
I am doing in simulink. my for loop output is S function output. how to do that? please help?

plus de 9 ans il y a | 1 réponse | 0

1

réponse

Question


I have a text/xlsx file that contains 20*4 array. I want to read 1st row element first and store that row in say x, process it and then read 2nd row and store in same variable x. Is there any commands for that? please help?
1.143958061720106 14.304389811272157 -0.395295879059261 19.927165553225255 1.143958061720106 14.304389811272157 -0.3952958...

plus de 9 ans il y a | 1 réponse | 0

1

réponse

2

réponses

Réponse apportée
Change for-loop iteration inside the loop.
Please see this code i = 1; for j = 1:500 pause(0.1) display(i) i = i + 1; if i == 40 i = 300;...

plus de 9 ans il y a | 0

Question


I want to plot the data as shown. but it is giving error as : Error using plot Conversion to double from cell is not possible.
fid = fopen('C:\Users\1319146\Downloads\data.txt'); textLine = fgets(fid); % Read first line. lineCounter = 1; wh...

plus de 9 ans il y a | 1 réponse | 0

1

réponse

Question


I have a matrix 20X1. I want to read all the elements of c2 and put the condition as if element of c2 is greater that zero and less than 70 then display that element else return. how should I do?
c2 = [ 1.3589] [ 7.9773] [28.2728] [28.2728] [ 0.8705] [ 7.4681] [28.2728] [37.0303]...

plus de 9 ans il y a | 1 réponse | 0

1

réponse

Question


I have data as shown, and I am using if statement but it is giving error as, Undefined function 'lt' for input arguments of type 'cell', please help?
ca = [ 1.3589] [ 7.9773] [28.2728] [28.2728] [ 0] [ 0] [ 0] [ 0] ...

plus de 9 ans il y a | 1 réponse | 0

1

réponse

Question


I am getting error in the expression: X(j) = F*X(j-1) + w; as, In an assignment A(I) = B, the number of elements in B and I must be the same, please help?
X = zeros(4,1); w = randn(4,1); F = [ 1 0 1 0 ; 0 1 0 1 ; 0 0 1 0 ; 0 0 0 1 ]; for j=2:11; X...

plus de 9 ans il y a | 1 réponse | 0

1

réponse

Question


I have a matrix of size 10*4, I want to read the matrix and after that want to read only second column, so can I get output like that??
Because for specific condition I need only second column values. Please help.

plus de 9 ans il y a | 1 réponse | 0

1

réponse