Ask an expert. Trust the answer.
Your academic and career questions answered
by verified experts.
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...
I have 2 matrices A and B, both 7x3. I want to compare each element in A with its corresponding element in B, taking the larger of the 2 values and cr...
How do I find the last element in a increasing matrix that is less than a particular number. For example if my matrix is A=[ 1 2 3 4 6 8 9] And I want...
Thank you for the help in advance. I wanted to plot the data usin' polar plot as the exmple shows https://matplotlib.org/examples/api/radar_chart.html...