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?

2 years ago | 1 answer | 0

1

answer

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 years ago | 2 answers | 0

2

answers

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

2 years ago | 1 answer | 0

1

answer

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

2 years ago | 1 answer | 0

1

answer

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

2 years ago | 1 answer | 0

1

answer

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

2 years ago | 2 answers | 0

2

answers

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

2 years ago | 2 answers | 0

2

answers

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

2 years ago | 1 answer | 0

1

answer

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 ?

2 years ago | 2 answers | 0

2

answers

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

2 years ago | 1 answer | 0

1

answer

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

2 years ago | 1 answer | 0

1

answer

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

2 years ago | 1 answer | 0

1

answer

Question


How to calculate the centroid of these bounding boxes which their 4 vertices are stored in cell array?
How to calculate the centroid of these bounding boxes which their 4 vertices are stored in cell array? The attached file is xy...

2 years ago | 1 answer | 0

1

answer

Question


How to calculate the inclination angle of whole box which their 4 vertices are stored in cell array with respect to the horizontal x-axis?
How to calculate the inclination angle of whole box which their 4 vertices are stored in cell array with respect to the horizon...

2 years ago | 1 answer | 0

1

answer

Question


Combine all columns of each slice in array as one column then convert it to 2D matrix
There is 3D matrix with size (2*3*128) , How to Combine all columns of each slice as one column then convert it to 2D matrix. ...

2 years ago | 2 answers | 0

2

answers

Question


divide each column of an array by its norm of the column
If there is array with size (2*3*128) and I want to divid each column over its norm. How to do that? For example this is ...

2 years ago | 2 answers | 0

2

answers

Question


convert matrix to array
How to convert matrix with size 5*78000 double to array type?

2 years ago | 1 answer | 0

1

answer

Question


How can I store the 100 rows of the array in one Matrix?
There is an array X with size (1*3*100) This is part from array X: val(:,:,1) = 0 0 0 val(:,:,2) = -0.0141 ...

2 years ago | 1 answer | 0

1

answer

Question


subtract matrix from vector
There are vector fH with size 14*1 and matrics fD with size 14*128 How can I subtract the first three values of each column o...

2 years ago | 1 answer | 0

1

answer

Question


How to subtract each column of a matrix from a column vector?
How to subtract each column of a matrix from a column vector?

2 years ago | 2 answers | 0

2

answers

Question


Perform calculations on matrices stored in cells
How can I do the following calculations on 128 matrices each with 14*14 size which are stored in cells?? I want to calculate...

2 years ago | 2 answers | 0

2

answers

Question


How to save 14*14 matrix in each iteration?
How to save 14*14 matrix in each iteration? There are 128 iterations and in each iteration there is a matrix named Vd with s...

2 years ago | 2 answers | 0

2

answers

Question


How to store the non zero value from each column of a matrix as a column vector (but if there is only zeros on the column store zero) in each iteration?
How to store the non zero value from each column of an output matrix which its size(5*3) as a clounm vector with a size(3*1) (bu...

2 years ago | 2 answers | 0

2

answers

Question


How to save all outputs that are produced from each iteration in separated cell in one row of array and each row expresses an iteration then store it in one .mat file?
How to save all the output from each iteration in one .mat file? Suppose we have the following program and I want to save Pd , ...

2 years ago | 1 answer | 0

1

answer

Question


How to use 1 column and all rows from a matrix in each iteration?
How to use 1 column and all rows from a matrix in each iteration? For an example there is a matrix 'M' and its size 7*127 , I...

2 years ago | 3 answers | 0

3

answers

Question


Generate all possible combinations of input vector Then store the input and outputs in each iteration in .mat file
In the following code I want to generate all probability of being 0.5 in vector 'Pd' . For example: In the first iteration P...

2 years ago | 1 answer | 0

1

answer

Question


Generate all probability of non repeated combinations of .mat files
How can I generate all probability of non repeated combinations of .mat files. For exapmle there are the following mat files :...

2 years ago | 1 answer | 0

1

answer

Question


Real-time controller
Does MATLAB have the capability to connect any type of data acquisition system with Real-time controller? We have in my univers...

2 years ago | 1 answer | 0

1

answer

Question


Is there a MATLAB code for 1D cantilever beam as well as code for 1d cracked Cantilever beam?
Is there a Matlab code for 1D cantilever beam as well as code for 1d cracked Cantilever beam?

2 years ago | 0 answers | 0

0

answers

Question


Is there any MATLAB code to create STATE SPACE model from the eigenvalues and eigenvectors?
Is there any MATLAB code to create STATE SPACE model from the eigenvalues and eigenvectors?

2 years ago | 1 answer | 0

1

answer

Load more