How to use who within eval
Here is the code: file_name = 'test'; eval(['file_length = length(who(''-file'',' file_name '));']); But this doesn'...
5 years ago | 3 answers | 0
Save my own function in the pre-defined function list
Can I create a function, then save it in a list of predefined Matlab functions?
9 years ago | 1 answer | 0
Display rational numbers using fprintf
I am using fprintf to write my answers to a file. I have numbers such as: 3/7,3/11,6/37... I tried different formats but every t...
9 years ago | 2 answers | 1
How does surf map colormatrix
I know surf(x,y,z,c) will use matrix c to map color, but how does it work? since matrix c actually has the size of z, instead of...
10 years ago | 1 answer | 0