Antonio Aguirre
Followers: 0 Following: 0
Feeds
已回答
I want to plot a graph like this in Matlab. It would be a great help if someone can help me with the same by providing the code.
Hi, So I tried the following below. Minus the LaTeX formatting, I think it's exactly what you need. Also, the function that you...
I want to plot a graph like this in Matlab. It would be a great help if someone can help me with the same by providing the code.
Hi, So I tried the following below. Minus the LaTeX formatting, I think it's exactly what you need. Also, the function that you...
4 years 前 | 0
| 已接受
已回答
simulate a random walk in 1D which can move both in x and -x direction and plot it using normal distribution with standard deviation1 and mean 0
To generate a single random number from a normal distribution you can excute the following code: % Where r is a random number f...
simulate a random walk in 1D which can move both in x and -x direction and plot it using normal distribution with standard deviation1 and mean 0
To generate a single random number from a normal distribution you can excute the following code: % Where r is a random number f...
4 years 前 | 0
| 已接受
已回答
can anyone help me ...Write a MATLAB m-file function (dice.m) which simulates one or more dice with each die giving values from 1 to 6
function [prob varargout] = diceSim(numDice) % Generates random numbers from 1 to 6 % Store them in a matrix...
can anyone help me ...Write a MATLAB m-file function (dice.m) which simulates one or more dice with each die giving values from 1 to 6
function [prob varargout] = diceSim(numDice) % Generates random numbers from 1 to 6 % Store them in a matrix...
8 years 前 | 0
已回答
how can a script that reads a number of strings from standard input and prints them in reverse order be written ?
Try the function fliplr(); If: A = {'t','d','f'}; A = fliplr(A) ans = 1×3 cell array 'f' 'd' 't'
how can a script that reads a number of strings from standard input and prints them in reverse order be written ?
Try the function fliplr(); If: A = {'t','d','f'}; A = fliplr(A) ans = 1×3 cell array 'f' 'd' 't'
8 years 前 | 2
提问
How can I generate C++ code for a user defined MATLAB class
I need to export a user-defined MATLAB class to C++. I need the class to have multiple instances in the C++ environment. I un...
8 years 前 | 1 个回答 | 0
1
个回答已回答
How to index into a multi layer cell?
In general, you need to index into the cell for accessing the data as follows : low{1,i}{i,1} For the particular question tha...
How to index into a multi layer cell?
In general, you need to index into the cell for accessing the data as follows : low{1,i}{i,1} For the particular question tha...
8 years 前 | 0
| 已接受
已回答
How can i display a list of maximum of a curve ?
Try looking up the findpeaks() function. https://www.mathworks.com/help/signal/ug/find-peaks-in-data.html Seems to take in...
How can i display a list of maximum of a curve ?
Try looking up the findpeaks() function. https://www.mathworks.com/help/signal/ug/find-peaks-in-data.html Seems to take in...
8 years 前 | 0
| 已接受
已回答
Mouse clicking call back
% --- If Enable == 'on', executes on mouse press in 5 pixel border. % --- Otherwise, executes on mouse press in 5 pixel border ...
Mouse clicking call back
% --- If Enable == 'on', executes on mouse press in 5 pixel border. % --- Otherwise, executes on mouse press in 5 pixel border ...
8 years 前 | 0
| 已接受