MATLAB QUESTIONS & EXPERT ANSWERS

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

Illustration
How do I create a 2 column matrix from my x and y data
Poppy - 2020-07-29

I want to make a 2 column matrix for my x and y data which consists of 1000 datapoints, I have tried this and it replaces only one column: x=[0 1 2 3 ...

How to insert a n x m matrix or table, into an existing table?
Shrishtisharma - 2020-07-28

I would like to nest an n x m matrix into a table, by using a for loop to populate each row of the table with a corresponding matrix. I am running mat...

How can I create a LaTeX table from a MATLAB array?
Isabellasmith - 2020-07-28

I would like to create a LaTeX table from a MATLAB array....

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

Get a Free Consultation or a Sample Assignment Review!