Discussion Closed This discussion was created more than 6 months ago and has been closed. To start a new discussion with a link back to this one, click here.
External matlab function
Posted 2010年11月19日 GMT-5 03:30 2 Replies
Please login with a confirmed email address before reporting spam
Hi,
I would like to create a periodic chirp signal in COMSOL as we generally do in MATLAB. As we know, the function in matlab to create signal like this, the function is as follows.
t = 0:0.001:2; % 2 secs @ 1kHz sample rate
y = chirp(t,0,1,150); % Start @ DC,
% cross 150Hz at t=1 sec
Can anybody suggest me how can I call this external function in MATLAB to COMSOL.
Thanks in advance,
Kiran
I would like to create a periodic chirp signal in COMSOL as we generally do in MATLAB. As we know, the function in matlab to create signal like this, the function is as follows.
t = 0:0.001:2; % 2 secs @ 1kHz sample rate
y = chirp(t,0,1,150); % Start @ DC,
% cross 150Hz at t=1 sec
Can anybody suggest me how can I call this external function in MATLAB to COMSOL.
Thanks in advance,
Kiran
2 Replies Last Post 2010年11月19日 GMT-5 05:20