From: Peng on 22 Jan 2010 00:30 Hi all, Is it possible for matlab to read a user input array from the GUI? My aim is to do a discrete convolution with x[n] and h[n] to give an output of y[n]. The codes are as follows: axes(handles.axes1); x=str2double(get(handles.edit1,'String')); grid; title('x[n]') ylabel('Amplitude') xlabel('n'); However for example, when the user types in 1 space 2 space 3 ie. 1 2 3, matlab reads the array with the space being a value of 32. Can anyone help to resolve this problem?? Thanks!
|
Pages: 1 Prev: Extended Kalman Filter Next: Displaying Matlab image in VB.NET picturebox |