How do I use my data set in an equation?
2 views (last 30 days)
Show older comments
I have a 4145x6 data set collected by a fNIRS device. I need to use the formula log(Ib/Im). Ib is a mean value of 6 values, so a 1x6 data set, and Im is the 4145x6 data set. How would I solve this equation in matlab.
0 Comments
Answers (2)
Torsten
on 23 Apr 2024
Edited: Torsten
on 23 Apr 2024
Say lm is 2x6, e.g.
lb = [1 2 3 4 5 6]
lm = [7 8 9 10 11 12;13 14 15 16 17 18]
What would you like to compute ?
[log(1/7) log(2/8) log(3/9) log(4/10) log(5/11) log(6/12);log(1/13) log(2/14) log(3/15) log(4/16) log(5/17) log(6/18)]
?
Then
log(lb./lm)
would work.
0 Comments
See Also
Categories
Find more on Standard File Formats in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!