Ask an expert. Trust the answer.
Your academic and career questions answered
by verified experts.
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...
Hi Everyone, I have a problem with classification. I have 39 samples of training data (39x10935) and 347 samples of testing data (347x10935). classify...
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...
I hope all of you are well. I'm currently working on replacing specific element values with NaN's within a matrix that is 300x600. I want to replace t...
I want to know which is the most efficient way to set a lot of matrix values to zero. I currently have a 90x90x7613 matrix with several numbers inside...
Can someone explain how to combine .mat files present in workspace or in directory into one .mat file? The problem is that the files are not properly ...
In order to feed into another program, I must do exactly as the title says. So far, I have been able to find the indices where a blank row is needed d...
How can i apply a mean or laplacian or average or any kind of filters 3x3 on any matrix i give it to it and get the new matrix ? What is the code for ...
I would like help creating a custom matrix that follows this pattern: [1 1 -1 1; 1 1 1 -1; 1 2 -1 1; 1 2 1 -1; 1 3 -1 1; 1 3 1 -1; 2 1 -1 1; 2 1 1 ...
Hello, I am trying to delete certain rows of an 1D array if a conditional statement is true. My code is: for i = 1:length(TF) if TF(i) == 1 pitch(i...