photo

Amy


Last seen: 4 dagar ago Active since 2024

Followers: 0   Following: 0

Statistics

  • Thankful Level 2

View badges

Feeds

View by

Question


How to calculate the average of each column without taking zeros values
Assume that there is a matrix:[1,3,5,0,0,0; 2,0,3,4,0,0; 3,0,0,3,0,1;4,2,2,1,8,2; 5,3,3,0,5,0; 6,7,0,0,2,0]. Display as follows ...

5 dagar ago | 3 answers | 0

3

answers

Question


How to get a scalar from MATLAB
If I have two matrices w is A 1*50 matrix and B is a 1*50 matrix. I want to use this formula of rp= w'r to calculate the result....

7 dagar ago | 2 answers | 0

2

answers

Question


How to remove all NaN and Inf values when calculate the mean?
I just computed a 167*50 double matrix (Log_ret) mean, with a lot of NaN and +-Inf. I've seen a solution from another question, ...

14 dagar ago | 2 answers | 0

2

answers