Using eval - REALLY need help please
Mostra commenti meno recenti
I'm working on some homework for school and one of the questions I have is as following:
4. Find the column that the heart rate(‘HR’) is in by searching through the data using Matlab and assign the data to its name using eval.
I've been reading through some other posts and many people are recommending not using eval, but my professor specifically said to use it. I also noticed that many codes with eval require an input of a string. I have no idea how I would use that. The Heart rate data, I've already found the location of. It's in the 24th column and the data runs from 4:end,24 in the data matrix. Is there a way I can use eval to perform what this question is asking with or without the input (preferable without)
Thanks!
Risposta accettata
Più risposte (0)
Categorie
Scopri di più su Logical in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!