提问


In an assignment A(I) = B, the number of elements in B and I must be the same, error.
x = 4 5 6 7 8 %5x1 X = 1 2 3 4 5 6 %6x1 q=6;...

11 years 前 | 1 个回答 | 0

1

个回答

提问


Defining coordinate system into GUI.
%I have excel files which contain xyz coordinates. I wanna create and define coordinate system in GUI environment. When I input ...

11 years 前 | 0 个回答 | 0

0

个回答

提问


I have 2 and 3 dimensional coordinates. (X Y) and (X Y Z). When I import these coordinates into matlab I want to see these points in the CAD environment.
for example; points=[100 150 177;124 152 177;210 230 222]; %3 dimensional x y z

11 years 前 | 0 个回答 | 0

0

个回答

提问


problem using fprintf for writing cell data and global data at the same time.
[fileName, filePath] = uiputfile('*.doc', 'Create a file:') if ~ischar(fileName) return; end fileID = fopen(fullfile...

11 years 前 | 1 个回答 | 0

1

个回答

提问


I have some results from my codes. Their class are different to each other. I write these values into microsoft word. I can assign global and char data into word with fprintf but when it comes to cell data I can't find anyway to write it.
[fileName, filePath] = uiputfile('*.doc', 'Create a file:') if ~ischar(fileName) return; end fileID = fopen(fullfile(fil...

11 years 前 | 1 个回答 | 0

1

个回答

提问


problem using fprintf for writing matrix into microsoft office word.
matrix=[0.13 0.14;0.09 0.07;0.86 0.77] [fileName, filePath] = uiputfile('*.doc', 'Create a file:') if ~ischar(fileName) ...

11 years 前 | 1 个回答 | 0

1

个回答

提问


I wrote codes which create a microsoft word and writes something inside it. I want to create a pushbutton which enables users to choose filename and directory to saving this file.
parameters = 0:.1:1 A = [ parameters ; exp( parameters )] fileID = fopen('results.doc','w') fprintf(fileID,'%6s %12s\n','...

11 years 前 | 1 个回答 | 0

1

个回答

提问


estimateFundamentalMatrix for checking coordinates.
%I have 2 different coordinate systems. There are common points of each system. I want to check whether these common points are...

11 years 前 | 0 个回答 | 0

0

个回答

提问


Closing exponential display while using fprintf
tp(1,1)=0.000025 ac(1,1)=0.00033 formatSpec = 'dx(m) '; formatSpec2=tp(1,1); formatSpec2=num2str(formatS...

11 years 前 | 1 个回答 | 0

1

个回答

提问


fprintf function for writing data into microsoft office word.
%I have some data, some of them are double, others are char. I want to write these data into microsoft office word in orderly. ...

11 years 前 | 1 个回答 | 0

1

个回答

提问


How to assisgn char data into empty Edit Text in Matlab GUI ?
%I have a data which its class is char. I need to write this data into edit text in my GUI. tp=0.99954; scale_ppm=(tp-1)*1...

11 years 前 | 1 个回答 | 0

1

个回答

提问


assigning cell data into edit in gui.
rotation_x=degrees2dms(-2.367444444*10^-4) rotation_x_char= sprintf('%2.0fd%2.0fm%7.5fs%s\n', rotation_x(:)) rotation_x_c...

11 years 前 | 1 个回答 | 0

1

个回答

提问


set handles function for char data.
%I have a data which class is char. I need to write this data into listbox in my GUI. tp=0.99954; scale_ppm=(tp-1)*10^6 ...

11 years 前 | 1 个回答 | 0

1

个回答

提问


I have data which class is char. I need to write this data in word doc. Which function I need to use?
%my inputs; parameters = 0:.1:1 A = [ parameters; exp(parameters)] degree=('0.233 ppm') fileID = fopen('trial.doc','...

11 years 前 | 1 个回答 | 0

1

个回答

提问


error while using imshow function.
%I have an empty "axes1" in GUI. I also have an picture in C directory. I want that while fig file opens, this picture can be au...

11 years 前 | 2 个回答 | 0

2

个回答

提问


I have an axes in my gui. I also have a logo in my computer. Each time when I execute the fig file I want that this logo automatically embed itself into the axes in my gui.
%my file name is= logo.png %directory=C: %I have an axes which tag is "axes1" in my gui.

11 years 前 | 1 个回答 | 0

1

个回答

提问


I have an angle data which unit is degree. This angle is more than 360 degree. I want to reduce this angle.
%for example; a=360.0009367 %degree Actually there is no any degree which more than 360 degree so I need to reduce this ang...

11 years 前 | 1 个回答 | 0

1

个回答

提问


In GUI, I have a push button. I want that when this push button is pressed a text file which created before opens automatically without choosing a file..
% I have a textfile which name is readme.txt Its directory: C//matlabcodes folder %In GUI, I also have a push button. When I ...

11 years 前 | 2 个回答 | 0

2

个回答

提问


I have a cellArray data. Could you tell me how I can extract the first column of this cellArray data without depending any character and number?
cellArray = 'A29G0202 465254.432 4066809.025' 'A29G0008 499252.083 4042876.84' 'A29G001...

11 years 前 | 3 个回答 | 0

3

个回答

提问


regexp usage for cellArray data which includes both characters and numbers.
cellArray=cellstr(cellArray) cellArray = 'O2930202 465254.432 4066809.025' 'O2910008 499252.083 ...

11 years 前 | 2 个回答 | 0

2

个回答

提问


using regexp for char data
out1 = p.11 109 820 109 p.12 503 159 117 p.13 234 207 151 p.14 139 134 215 Name Size Bytes Class Attributes o...

11 years 前 | 1 个回答 | 0

1

个回答

提问


I have a char data. I want to extract first column from this char data.
%for example, out1 = p.11 109 820 109 p.12 503 159 117 p.13 234 207 ...

11 years 前 | 1 个回答 | 0

1

个回答

提问


I have a cellArray data and I extracted the first column of this cellArray. In another function when I call this data with global this data looks empty.
function pushbutton1_Callback(hObject, eventdata, handles) ............. cellArray= ' 334 4261461.0645 ...

11 years 前 | 2 个回答 | 0

2

个回答

提问


I have two cellArray which class are cell. I want to extract first column of these cellArray.
cellArray= ' 334 4261461.0645 2661117.6797 3918916.0472' ' 352 4266205.852 2659683.96 ...

11 years 前 | 1 个回答 | 0

1

个回答

提问


I have a data which class is char, containing n rows and 4 columns. I wanna extract first column.
a= N334 4261461.0645 2661117.6797 3918916.0472 N352 4266205.852 2659683.96 3914798.2885...

11 years 前 | 2 个回答 | 0

2

个回答

提问


I have 2 coordinate systems. Each of them includes several common points. I wanna check that whether these common points id are the same or not.
%for example; datum1=[N1 100 150 200;N2 110 122 130] datum2=[N1 120 140 300;N2 120 170 180] %in this example I wanna ch...

11 years 前 | 1 个回答 | 0

1

个回答

提问


I have 2 cellArray which changes double to string. I wanna compare these 2 cellArray whether they are same or not.
%for example; %situation 1 cellArray=[p.1,p.2,p.3] %cell cellArray2=[p.1,p.2,p.3] %cell situation 2 cellArray=...

11 years 前 | 1 个回答 | 0

1

个回答

提问


using fixed point toolbox for increasing precision. Can anyone give me an example how I can use this toolbox for increasing decimal point?
for example; lambda=pi; lambda= 3.141592653589793 %matlab gives me this result. But I need more decimal point like 32 ...

11 years 前 | 0 个回答 | 0

0

个回答

提问


I want to increase the precision in Matlab to 64 or 128 bits after the decimal point with fixed point toolbox. Could you give me an example for this function?
%for example, a=2/3 a = 0.666666666666667 %I want that this data is stored with more decimal point.

11 years 前 | 0 个回答 | 1

0

个回答

提问


I want to increase the precision in Matlab to 64 or 128 bits after the decimal point, is that possible?
I need high precison so 16 decimal point which format long gives me isn't enough. I need highest decimal point which enables...

11 years 前 | 1 个回答 | 0

1

个回答

加载更多