Community Profile

# M

Last seen: Today Active since 2021

#### Content Feed

View by

Question

How can I generate a trigonometric formula for the following case?
How can I generate a trigonometric formula for the following case? I want a formula that gives a certain value when I substitu...

ungefär 2 timmar ago | 3 answers | 0

### 3

Question

How to find the line of intersection between the following two planes and plot the intersected line on the same two planes?
How to find the line of intersection between the following two planes and plot the intersected line on the same two planes? ...

en dag ago | 1 answer | 0

### 1

Question

Orthogonality by Singular value decomposition "svd"
How to use the Singular value decomposition "svd" to perform the Orthogonalization between vectors?

7 dagar ago | 1 answer | 0

### 1

Question

Projection using Modified Gram-Schmidt orthogonality
Hello, I need the Modified Gram-Schmidt orthogonalization method in my Research. I wrote the following code for the project...

9 dagar ago | 1 answer | 0

### 1

Question

How can I do curve fitting depending in the following formula?
I am doing a research and I want to do curve fitting and know the value of "V" depinding on the following function: F(V) = (K-...

### 1

Question

Particle Swarm Optimization PSO
The following is the PSO code, the varible that the PSO returns is "x" and its size is 7*1 , Can anyone help me how can I put co...

### 1

Question

How to round numbers in the matrix
There is a matrix 3×3 containing numbers from 0 to 1, but each number contains many decimals such as 0.120886554436, 0.092568479...

### 1

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

### 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?

### 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?

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

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

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

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