MATLAB QUESTIONS & EXPERT ANSWERS

Ask an expert. Trust the answer.
Your academic and career questions answered by verified experts.

Illustration
how to find the element which is greater than or equal to its row and smaller or equal to its column in a matrix
Rebeccakaur - 2020-07-28

Hi everyone; I am going to find the saddle points of a matrix M. The question is given below... Write a function called saddle that finds saddle point...

How to export a matrix in a text file?
Kimayaojja - 2020-07-28

I want to save a matrix in a text file with the data organised in columns. Exemple: A= 1 2 3 4 5 6 I want to get a text file in which A looks like : A...

randomly select elements of an array
Amolisingh - 2020-07-28

Hi How i can select randomly elements from a matrix o array I have the matrix and i want to select "x" numbers of elements...

Integrate new rows inside matrix and repeating them
Saanvijain - 2020-07-24

I want to integrate two lines inside matrix and repeated frequently before each rows: The original matrix:   A = [ G1 X8 Y118 G1 X8 Y135 G1 X 8 Y 150...

Combination of rows of two different matrices
Samantha - 2020-07-24

Sorry if this is a repeated question but I failed to find an answer myself. I have two matrices:   A = [-0.6, -0.2; -60, 2; 6, -20]; B = [-0.4, -0.8;...

How can I concatenate a "datetime" column to a matrix of numbers?
layla - 2020-07-24

I have imported a table from an external file via textscan. For example:   A = rawCellColumns2(:, 1); B = cell2mat(rawNumericColumns2(:, 1)); C = cel...

How do I convert a cell array whose dimensions are not equal?
Aaradhyakaur - 2020-07-24

I have a cell array that looks like this:   mydata = [10x11 double] [5x11 double] Name Size Bytes Class Attributes mydata 1x2 1544 cell I'm trying to...

how to convert a matrix to a cell array
Ananyasingh - 2020-07-24

I have a 2x10 matrix. Would anybody know how I could convert it into a 1x10 cell array - so that each cell contains a 2x1 matrix? I'm new to matlab an...

How to make matrix a possitive definite
Saishasingh - 2020-07-20

Hi Everyone, I have a problem with classification. I have 39 samples of training data (39x10935) and 347 samples of testing data (347x10935). classify...

Identify the minimum number of rows in a matrix meeting a condition
Jeremiah - 2020-07-20

Please assume that I have a matrix as follows:   A = [0 1 0 0 1 1 0 0 0 0 1 0 0 0 0 1 1 0 1 1] I would like to identify and selcet the minimum number...

Get a Free Consultation or a Sample Assignment Review!