Compare two arrays of different lengths and return logical
Hello, If I have A = [1, 2, 3, 4] and B = [2, 4], how can I have C return logical 1 and 0 for all elements of A so that C is th...
1 month ago | 1 answer | 0
Hi, Assuming y = [1,2,3,4] If I want to add a percentage to each value, I attempt to do for loop as such: for i = 1:4 ...
4 months ago | 2 answers | 0
Different eigenvectors when using eig and null functions
Hello, I'm running a simple script to calculate the eigenvalues and eigenvectors of a given matrix using two different MATLAB f...
1 year ago | 1 answer | 0