Community Profile # M

Last seen: Today Active since 2021

#### Statistics

• • #### Content Feed

View by

Question

I want to fix the zeros values in their same indices in certain two matrices A and B (to not be updated) in a cost function?
I want to build a cost function, I want to fix the zeros values in their same indices in certain two matrices A and B (to not b...

18 days ago | 1 answer | 0

### 1

Question

How to store the following Matrix in a variable?
How to store the following Matrix in the variable C? I got the following error M = ones(7); C = M(logical(eye(7))) = 0.4

20 days ago | 1 answer | 0

### 1

Question

How to produce a matrix with the following conditions?
How to produce a matrix which size is 7*7 and contains all possible single locations of a certain value and the rest of the colu...

21 days ago | 2 answers | 0

### 2

Question

How to know the x projection in this function if the y is known?
How to know the x projection in this function if the y is known? For example If the y = 0.4 what is the x? xA = 0; xB = 1; ...

23 days ago | 1 answer | 0

### 1

Question

How can I compute the Area and the Centroid of the following shape?
How can I compute the Area and the Centroid of the following shape? I have used the following code to construct it: xA = 0; ...

23 days ago | 4 answers | 0

### 4

Question

What is the best function of the following shape?
How can I construct this shape? what is the best function of it? It is more like sigmoid function + straight line But I cant...

28 days ago | 5 answers | 0

### 5

Question

How to calculate the mean value of the non vero value in a vector?
How to calculate the mean value of the non vero value in a vector? For example there is a vector contains 3 values M = [0.7,0.3...

1 month ago | 2 answers | 0

### 2

Question

How to find the index of the values which are bigger than zero the following case?
How to find the index of the values which are bigger than zero the following case? There is a vector M contines three value ...

1 month ago | 2 answers | 0

### 2

Question

How to calculate the center of the obtained Area in this case?
Hello, I need help in my reaserach paper. I want to calculate the center of the obtained Area in this case: The hight ( y axi...

1 month ago | 1 answer | 0

### 1

Question

Can I combine letters with numbers in the same matrix?
Can I combine letters with numbers in the same matrix? I have vector B return two letters for example [L M] And anothe...

1 month ago | 1 answer | 0

### 1

Question

How to know that each of the output is computed when the input is belong for specific range and print it in the same output?
Hello everyone, I need a help in my code which I built it to use it in my Fuzzy Logic research paper. The following is a fun...

1 month ago | 1 answer | 0

### 1

How to build up linear functions in MATLAB and plot the?
Thanks for all @Star Strider @dpb @Sam Chak.I really got benefits from all of you

2 months ago | 0

Question

How to build up linear functions in MATLAB and plot the?
Hi, I am new in MATLAB and I want to build a code for these linear functions and plot them to use it in my research paper. The...

2 months ago | 3 answers | 0

### 3

Question

How to find values in a vector that are correspond to the 6th biggest values in another related vector?
There are two vectors, the 1st one is named peaks and the 2nd one is named frequencies and they are related to each other (I mea...

3 months ago | 1 answer | 0

### 1

Question

Spectrum in the freqency domiain
I have data measured by an accelerometer (Fs=50 Hz) and I want: 1- detailed code to see the spectrum of the data in the f...

3 months ago | 1 answer | 0

### 1

Question

How to read comma separated .txt file in MATLAB ?
How to read comma separated .txt file in matlab ? The rows is like this : #A-R=-6.00,20.00,304.00 #A-R=-6.00,22.00,311.00 #...

3 months ago | 2 answers | 0

### 2

Question

How can I import excel file (.xlsx) in Matlab and store the 4th column in a vector?
How can I import an excel file which contains 4 columns (.xlsx) in Matlab and store the 4th column in a vector?

3 months ago | 2 answers | 0

### 2

Question

How to read data from serial communication sensor "imu GY-951 9 dof" by using Arduino in MATLAB?
How to read data from serial communication sensor "imu GY-951 9 dof" by using Arduino in MATLAB?

4 months ago | 1 answer | 0

### 1

Question

How to formulate the following vector?
I want to folmulate vector V as as the following: R is attached matrix The values of the vector should be taken from the R mat...

4 months ago | 2 answers | 0

### 2

Question

How to perform the following commands?
How to perform the following commands: result1 = m(:,abs(m(2,:))< threshold ); .......... This line I want to exclude zero val...

4 months ago | 1 answer | 0

### 1

Question

Plot Boxes then Plot them in the original photo ?
I want to plot only the following boxes (5,6,7,8,9,10,12,13) from 19 box which their coordinates stored in the attached file "Bo...

4 months ago | 1 answer | 0

### 1

Question

How to perform the following operation ( M(:,c)=M(:,c)+thr*M(:,c).*(N*2-1); )in each column in matrix M?
How to perform the following operation ( M=M+thr*M.*(N*2-1);)in each column in matrix M? M is matrix with size 14*128 N is ra...

5 months ago | 1 answer | 0

### 1

Question

How to filter the following vector from multiple vectors?
How to filter the following vector from multiple vectors? I want to do the following for each matrix stored in M suppose eac...

5 months ago | 2 answers | 0

### 2

Question

How to formulate the following matrices?
How to formulate the following matrices? (which is called the transformation matrices) Theta is the degree angle which stored...

5 months ago | 2 answers | 0

### 2

Question

How to Multiply the following matrices case?
How to Multiply the following matrices case: There is a matrix "T" with size 3*3*18 and another vector array "D" with size 3*1*...

5 months ago | 1 answer | 0

### 1

Question

How to calculate inverse of 3d array matrices with size 3*3*18 ?
How to calculate inverse of 3d array matrices with size 3*3*18 ?

5 months ago | 2 answers | 0

### 2

Question

How to calculate the distances between the transformation matriecs?
How to calculate the distances between the transformation matriecs as the following: norm([D]) = inv[of each T] multiply by th...

5 months ago | 0 answers | 0

### 0

Question

How to plot multiple x,y frames based on their corresponding transformation matrices in the same figure?
How to plot multiple x,y frames based on their corresponding transformation matrices in the same figure? The attached are the tr...

5 months ago | 1 answer | 0

### 1

Question

How to formulate 2D frames if I have the origin of the frames (x, y) and the inclination angle of the frame with respect to the x-axis?
How to formulate 2D frames if I have the origin of the frames (x, y) and the inclination angle of the frame with respect to the ...

5 months ago | 1 answer | 0