Hi
I need to roung the values in a matrix for example i have a vector A = [0.151 0.155 1.12 1.17 2.25 2.31] and tolerance is 0.05. then i should get the result as
B = [0.155 0.155 1.17 1.17 2.25 2.31]. So i must be able to round the values to the max or min which falls in the range of 0.05...
Hi
If anyone know please help me out in solving this problem. I have a
file which is having around 140 columns in it. I need to read a few
columns from it and i must draw some graohs or do some operatioons on
the columns. The file format is not defined in Matlab. So i thought
of using...
i even used
data(iData,1:3) = sscanf(strLine,'%*s %*d %*s %s %*s %d %*s %d')' But its showing error.
even
data(iData,1) = sscanf(strLine,'%*s %*d %*s %g %*s %*d %*s %*d')';
data(iData,2:3) = sscanf(strLine,'%*s %*d %*s %*g %*s %d %*s %d')';
this didnt work out
I want to read the values from a file which is the following format into a matrix
@ STAGE_X_MIRROR
No 0 Pos_y -234mm Wx 10 Wxp 3
No 1 Pos_y -232mm Wx 8 Wxp 2
No 2 Pos_y -230mm Wx 8 Wxp 2
No 3 Pos_y...
In the following example i am creating a figure and adding an axes to it. i want to do a quiver plot on the created axes. for this i am setting current axes to the created axes. But when i am calling quiver it is being plotted on a automatically created axes. please let me know what could be the...
Does anyone know how to create components like textboxes, labels at runtime and add to the form. If at all created then how to access each component. I need to create them at runtime because if i plot one curve then i have to show the details of that single curve and if i display more then i...
Hi can anyone tell me how to add an element to list box at run time.
for example list box has A1, A2, A3 if i say add then A4 must be added. if there are only A1, A2 then A3 must be added. If anyone has the idea then please help me out.
I want to store an array of 2D matrices in other variable and access the saem later
for example it will be like this
A =(A1,A2,A3)
where A1= 1 2 3
4 5 6
7 8 9
10 11 12
and A2 and A3 will be same. The sizes of A1 A2 and A3 are not equal (no of rows differ) and i even...
Hi i am getting a problem with quiver function. I want to set scale to the function by reading a value from a text box and the graph will be updated by clicking an update button. The graph is updating as i increase the scale but its not showing when i decrease the scale in the text box. please...
The below data is a sapme data. I should plot a vector plot so that i will get lines connecting XPos,XPos+Cor(x) and YPos,YPos+Cor(y).And the units for X and Y are millimeters and for Cor(x) and Cor(y) are in nano meters.
XPos YPos Cor(x) Cor(y)
(mm) (mm) (nm) (nm)
35.154 -61.32 3 0
20.088...
I need to import the vales from a file into the matlab environment for drawing vectors etc. can someone help me out in giving an idea or code inorder to process this data. the file looks like this
machineid:FPA5000-AS2
date:04/01/07
time:20:02:21
deviceName:/canon
jobName:/M1259C1_Z/AA_3x2.job...