Giridharan Kumaravelu
自 2018 起处于活动状态
Followers: 0 Following: 0
Feeds
已回答
How can I create axis labels with subscripts and greek letters?
The following should work: y1 = 1:10; y2 = (1:10)*0.5; x = 1:10; plot(y1); hold on; plot(y2); xlabel('Si...
How can I create axis labels with subscripts and greek letters?
The following should work: y1 = 1:10; y2 = (1:10)*0.5; x = 1:10; plot(y1); hold on; plot(y2); xlabel('Si...
6 years 前 | 0
已回答
How to transfer matrix values loaded in one subfunction to the main function?
You could use them as global variables as shown below function calculation global A global B [a,b] = calc...
How to transfer matrix values loaded in one subfunction to the main function?
You could use them as global variables as shown below function calculation global A global B [a,b] = calc...
6 years 前 | 0
已回答
How remove a field inside a structure?
fieldsS = fieldnames(sd.Variables); for i = 1:length(fieldsS) S.Variables.(fieldsS{i}) = rmfield(sd.Variables.(fieldsS{i})...
How remove a field inside a structure?
fieldsS = fieldnames(sd.Variables); for i = 1:length(fieldsS) S.Variables.(fieldsS{i}) = rmfield(sd.Variables.(fieldsS{i})...
6 years 前 | 0
| 已接受
已回答
VideoWriter is only showing the last figure as opposed to full 135 image movie
You are writing the video outside of the loop, that is why you are seeing only the last image. Move the writeVideo command insid...
VideoWriter is only showing the last figure as opposed to full 135 image movie
You are writing the video outside of the loop, that is why you are seeing only the last image. Move the writeVideo command insid...
6 years 前 | 0
| 已接受
已回答
how do i change a variable name from workspace
getname = @(x) inputname(1); IR0004__ = 10; str = getname(IR0004__); newstr = erase(str,'_'); eval([newstr '=' str...
how do i change a variable name from workspace
getname = @(x) inputname(1); IR0004__ = 10; str = getname(IR0004__); newstr = erase(str,'_'); eval([newstr '=' str...
6 years 前 | 0
已回答
How do i repeat an already generated gaussian pulse signal for a certain number of times?
If you are using a code in the Simulink, you could try the repmat() function.
How do i repeat an already generated gaussian pulse signal for a certain number of times?
If you are using a code in the Simulink, you could try the repmat() function.
6 years 前 | 0
已回答
I am a MATLAB beginner, I have a function that generates 100 X and Y coordinates for 30 users. X and Y are 30 by 100 matrices. How do I generate the distance between a user and the other 29 users, for each of the 30 users.
for m = 1:NoUsers for j = 1:NoUsers for t = 1:s D(m,j,t) = sqrt((x(m,t) - x(j,t))^2+(y(m,...
I am a MATLAB beginner, I have a function that generates 100 X and Y coordinates for 30 users. X and Y are 30 by 100 matrices. How do I generate the distance between a user and the other 29 users, for each of the 30 users.
for m = 1:NoUsers for j = 1:NoUsers for t = 1:s D(m,j,t) = sqrt((x(m,t) - x(j,t))^2+(y(m,...
6 years 前 | 0
| 已接受
已回答
exporting array data to text file
xTable = array2table(x); writetable(xTable,'final.txt','Delimiter',' '); The above code can help and you can modify the ...
exporting array data to text file
xTable = array2table(x); writetable(xTable,'final.txt','Delimiter',' '); The above code can help and you can modify the ...
6 years 前 | 0