Tag Archives: m.function

Run for 100 times (loops) and save each result of run into a single matrix in MATLAB

Here a simple example: You want to run 100x times of this function, y=2i, where i is integer values (0¬†until 100) and you want to save each y into a single matrix (named as y1), you can write as follow: … Continue reading

Posted in Code | Tagged , | Leave a comment

Read/edit the built-in Matlab functions

I found a good tip from the matlab community to find out the built-in function in Matlab. You can edit and change it. The tip as follows: % You can use the [which] command to find the path name to … Continue reading

Posted in Code | Tagged , , | Leave a comment