Skip to content

Conversation

@CarolynMcNabb
Copy link

zmetric=(metric-avg)./stdev in line 76 produced an error when run in Matlab 2015b
I updated the code to use zscore:
zmetric=zscore(metric)
The code now runs with no issues

zmetric=(metric-avg)./stdev  in line 76 produced an error when run in Matlab 2015b
I updated the code to use zscore:
zmetric=zscore(metric)
The code now runs with no issues
@jamienear
Copy link
Contributor

Thank you for this! Would you mind pasting in the text of the original error message so that I can see what the issue was?

Thanks!
-Jamie

@jamienear
Copy link
Contributor

The reason I ask is because I think the function 'zscore' is a member of the 'Statistics and Machine Learning Toolbox'. So an implementation involving the 'zscore' function may not work for all users. For that reason, I would prefer to stick with an implementation that does not involve any toolbox functions.

So if you show me the error message, maybe I can fix it without using 'zscore'.

Thanks!
-Jamie

@CarolynMcNabb
Copy link
Author

CarolynMcNabb commented Apr 21, 2021 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants