photo

Antonio Aguirre


Last seen: 2 years ago Active since 2016

Followers: 0   Following: 0

Statistics

All
  • First Review
  • Knowledgeable Level 2
  • First Answer
  • Solver

View badges

Feeds

View by

Answered
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 ago | 0

| accepted

Answered
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 ago | 0

| accepted

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

7 years ago | 0

Answered
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'

7 years ago | 2

Question


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

7 years ago | 1 answer | 0

1

answer

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

7 years ago | 0

| accepted

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

7 years ago | 0

| accepted

Answered
Mouse clicking call back
% --- If Enable == 'on', executes on mouse press in 5 pixel border. % --- Otherwise, executes on mouse press in 5 pixel border ...

7 years ago | 0

| accepted