Feeds
답변 있음
In surface(x,y,z) command what is the value of z that make the white color. I mean is there a color code for surface of surf
Yes, there is. You have to use surface(X,Y,Z,C) as you can see in https://es.mathworks.com/help/matlab/ref/surface.html?s_tid...
In surface(x,y,z) command what is the value of z that make the white color. I mean is there a color code for surface of surf
Yes, there is. You have to use surface(X,Y,Z,C) as you can see in https://es.mathworks.com/help/matlab/ref/surface.html?s_tid...
거의 3년 전 | 0
답변 있음
find the sum by function
I think that your problem is the function definition. Actually you are using total as input and v as output and I think that you...
find the sum by function
I think that your problem is the function definition. Actually you are using total as input and v as output and I think that you...
4년 초과 전 | 0
답변 있음
How to loop through the table and assign 1's with an if statement
Can you use? dataSpeak=zeros(maxTime,nUP) for l=1:length(dataFix) if dataFix(i)==1 & Speaking(i) ==1; dataSpeak(i)=1; e...
How to loop through the table and assign 1's with an if statement
Can you use? dataSpeak=zeros(maxTime,nUP) for l=1:length(dataFix) if dataFix(i)==1 & Speaking(i) ==1; dataSpeak(i)=1; e...
4년 초과 전 | 0
| 수락됨
답변 있음
Create one file from many files
Hi! You should use fid = fopen(file(i),'r'); for each file. Then read it. I usually use value(i) = str2num(char(fread(fid...
Create one file from many files
Hi! You should use fid = fopen(file(i),'r'); for each file. Then read it. I usually use value(i) = str2num(char(fread(fid...
4년 초과 전 | 0
답변 있음
dir(cd)
dir is a function that takes a look in a determined folder (and subfolder if you command). cd without arguments is your actual ...
dir(cd)
dir is a function that takes a look in a determined folder (and subfolder if you command). cd without arguments is your actual ...
4년 초과 전 | 0
| 수락됨
답변 있음
How to find max and min value of a function ?
I think that what you want is the function fminbnd(fun) that finds local minimum. If you use fminbnd(-fun) you will get it...
How to find max and min value of a function ?
I think that what you want is the function fminbnd(fun) that finds local minimum. If you use fminbnd(-fun) you will get it...
4년 초과 전 | 0
답변 있음
FInd the function root
You have to use a initial value (it can be 0). The fzero function uses a combination of bisection, secant, and inverse quadratic...
FInd the function root
You have to use a initial value (it can be 0). The fzero function uses a combination of bisection, secant, and inverse quadratic...
4년 초과 전 | 2
| 수락됨
답변 있음
Simscape - changing resistance values according to computed in matlab loops "for" arrays
Inside your for loop you can use set_param('YOUR MODEL/R_t13_t21','R',your_values(i)) and in order to run your model you can u...
Simscape - changing resistance values according to computed in matlab loops "for" arrays
Inside your for loop you can use set_param('YOUR MODEL/R_t13_t21','R',your_values(i)) and in order to run your model you can u...
4년 초과 전 | 1
답변 있음
How to programmatically add a block from Audio Toolbox to Simulink?
Hi, In order to add a block you shouldn't look at the library name because its file could be named differently. This is that ca...
How to programmatically add a block from Audio Toolbox to Simulink?
Hi, In order to add a block you shouldn't look at the library name because its file could be named differently. This is that ca...
4년 초과 전 | 0
| 수락됨
답변 있음
Adding specific section of one text file to another
Hi Abraham Aguilar, Like I don't have your text (or an example of that one with random words) I'm going to suposse that you hav...
Adding specific section of one text file to another
Hi Abraham Aguilar, Like I don't have your text (or an example of that one with random words) I'm going to suposse that you hav...
5년 초과 전 | 0
답변 있음
2D plot with 3rd variable
Hello Michel, I think you can use RGB colors so if you have the data in rows in X and Y it would be somethink like: figure...
2D plot with 3rd variable
Hello Michel, I think you can use RGB colors so if you have the data in rows in X and Y it would be somethink like: figure...
5년 초과 전 | 0
| 수락됨
답변 있음
Need to store each index and value from if statement inside the for loop.
Hi Nicole, I can see that in your loop you are assigning the values variable each time the statement is true. If you want to st...
Need to store each index and value from if statement inside the for loop.
Hi Nicole, I can see that in your loop you are assigning the values variable each time the statement is true. If you want to st...
5년 초과 전 | 1
| 수락됨