답변 있음 Generate random points inside a circle
function [x y]=cirrdnPJ(x1,y1,rc)
%the function, must be on a folder in matlab path
a=2*pi*rand
r=sqrt(rand)
x=(rc*r)*...
15년 초과 전 | 5
| 수락됨
답변 있음 How can I store an equation as a variable?
%create the functions
XT=inline('t./4+3')
YT=inline('3*t./2-8')
ZT=inline('t')
%for example if you want to plot them...
답변 있음 Calling executables from MATLAB
You can send commands to your OS command line, here's one example that runs in MS Windows 7, don't know about other OS but might...