Community Profile

photo

azarang asadi


Last seen: 8 days ago Active since 2020

Statistics

  • First Answer
  • Thankful Level 3
  • Thankful Level 2

View badges

Content Feed

View by

Answered
How to find minimum or maximum value of a signal?
So I came up with an idea which is find the peaks in that specific region, then find the min and max and then compare the absolu...

1 year ago | 0

| accepted

Question


How to find minimum or maximum value of a signal?
Hello everyone, I have some very noisy signals and they have several peaks. I'm looking at a specific region of my signal to fin...

1 year ago | 1 answer | 0

1

answer

Answered
Loops: savings, creating vectors, for-loop, if-else
You haven't clearly expressed what you are trying to save in the for loop. [31 3] this means 3 variables saved with 31 iteration...

1 year ago | 0

Answered
plotting y-axis issue and wrong plot
your m is 0:100:1000 which is a 1*11 but your a is 1*1000. It should be same size. so m = 1:1000

1 year ago | 0

Question


How to store a cell array as a table cell?
Hi all, I have a structure with 5 fileds: struct.field1 --> 1*8 cell struct.field2 --> singe value (double) struct.field3 --...

1 year ago | 1 answer | 0

1

answer

Question


How to assign a value to a variable in for loop?
Hello all, I'm getting some input from the user to create the name of a variable as follow: LocationIMU = string(input('thig...

1 year ago | 1 answer | 0

1

answer

Question


How to create a table from strings and numerical data?
I have a loop and I don't know how many times it runs. Through this loop I get a string from my data and a vector with let's say...

1 year ago | 2 answers | 0

2

answers

Question


How to generate a smooth derivative after fitting a curve to the data?
Hi all, I have a set of data which is attached. I used spline function to fit the data and then fnder to take the second deriva...

1 year ago | 2 answers | 0

2

answers

Question


Why bandpass filter doesn't do what it supposed to do?
I created a synthetic signal in Matlab: t = linspace(0,1,1080); original = sin(100*2*pi*t)+1; Then I added some noise to ...

2 years ago | 1 answer | 0

1

answer

Question


How to concatenate using for loop?
Hi, I'm running a for loop and on every iteration I get a matrix that has 231 columns but different number of rows. I need to c...

2 years ago | 1 answer | 0

1

answer

Question


How to find b spline values?
Hello, So I have some position data, I fitted a Bspline on the data and differentiate twice to get the accelerations. But now t...

3 years ago | 3 answers | 0

3

answers

Question


How to compare an integer to the elements of a vector?
So I have a single value u ( between 0 and one generated by rand) and I have a n dimensional vector, let's say C .I want to comp...

3 years ago | 2 answers | 0

2

answers

Question


How to add the variables in a function to your workspace?
So I have a function let's say like this y = fun(x) and to get the y from x, I am defining some other variables let's say like c...

4 years ago | 1 answer | 0

1

answer

Question


Creating Unit vectors in a loop
Hey I have a loop an I'm trying to create some unit vectors as follows: e1 = [1;0;0;0;0;0;0;0] e2 = [0;1;0;0;0;0;0;0] e3 = ...

4 years ago | 2 answers | 0

2

answers

Question


How to find the function with having input and output?
Hey guys, So I have the end effector global transformation matrix and also joint variables(q). I'm trying to get a function act...

4 years ago | 1 answer | 0

1

answer

Question


How to store a matrix output of a loop?
Here's my code: (tryna get the transformation matrices of each link of a robot and save them) g=zeroes(4); %initi...

4 years ago | 1 answer | 0

1

answer