Question


scatter function to set different color for particular point.
ids={'AKHR','AKSR','CIHA'}; x=[38.36927164;38.37038981;39.0791021]; y=[31.42974208;33.99814907;33.06536336]; figure(...

9 years ago | 1 answer | 0

1

answer

Question


vertical alignment with different size character with fprintf.
C = {'p.1001',100.500,250.350,;'102',110.550,255.220;'m285',115.210,266.333}; fileID = fopen('celldata.dat','w'); format...

9 years ago | 1 answer | 0

1

answer

Question


writing cellarray data into text file with specific tab space and precision.
cellArray = 'p.1' [38.141794059793398] [31.983184186130529] [1.751451095529832e+03] [ 10] [38.094455446...

9 years ago | 1 answer | 0

1

answer

Question


increasing precison using fprintf for text file
cellArray = [ 334] [38.141794059793398] [31.983184186130529] [1.751451095529832e+03] [ 352] [38.0944554...

9 years ago | 1 answer | 0

1

answer

Question


reading specific lines in the text file.
I need to read "# / TYPES OF OBSERV" lines and extract the lines' data except "# / TYPES OF OBSERV". For example in the data.t...

9 years ago | 1 answer | 0

1

answer

Question


using find function for char
line = 10 L1 L2 L5 C1 C2 P2 C5 S1 S2# / TYPES OF OBSERV Name Size Bytes Class line 1x81 ...

9 years ago | 2 answers | 0

2

answers

Question


using findstr function for scanning strings in text file.
2.11 OBSERVATION DATA M (MIXED) RINEX VERSION / TYPE teqc 2014Jan16 NOAA/NOS/NGS/CORS 20150102 ...

9 years ago | 1 answer | 0

1

answer

Question


fscanf problem with reading txt data.
fid = fopen('current.txt') %Open source file "current.txt" NumSV = fscanf(fid, '%d') %Number of Satellites (PRN) nam...

9 years ago | 1 answer | 0

1

answer

Question


scatter function for plotting points with different colors
txt1=[{'X1'};{'A100'};{'B100'};{'C100'};{'X2'}]; y=[100;150;200;135;140]; x=[200;250;300;225;235]; figure(1),scatter...

10 years ago | 0 answers | 0

0

answers

Question


scatter function for different colors
txt1=[{'A100'};{'B100'};{'C100'};{'X1'};{'X2'}]; y=[100;150;200;135;140]; x=[200;250;300;225;235]; figure(1),scatter...

10 years ago | 1 answer | 0

1

answer

Question


waitbar process without loop
h = waitbar(0,'please wait to load file'); [num,txt,raw] = xlsread('C:\Matlab_codes\TG.xlsx'); close(h) %in this exam...

10 years ago | 0 answers | 2

0

answers

Question


adjusting figure view of scatter function
x =[4183603.819;4194284.645;4206946.213;4206978.280;4207309.760;4207495.910;4207527.086;4207362.394;4206891.650;4206754.600;41...

10 years ago | 0 answers | 0

0

answers

Question


changing font of inputdlg
a={'latitude', 'longtitude',}; b='coordinates'; num_lines=1; start={'0','0','0'}; koordinatlar=inputdlg(a,b,num_li...

10 years ago | 0 answers | 0

0

answers

Question


while 1 and fget1 loop.
fide = fopen('data.13o') head_lines = 0 while 1 head_lines = head_lines+1 line = fgetl(fide) answer ...

10 years ago | 2 answers | 0

2

answers

Question


manipulating matrix for outlier detection
%ids are the point numbers, L is the measurement which need to be checked for outlier. ids=[1;2;3;4;5;6;7;8;9;10]; L=[0....

10 years ago | 2 answers | 0

2

answers

Question


plot using with characters which are cell and numeric data.
data=[1;2;3;4;5;6]; ids={'12.1a';'1.2b';'1.3c';'1.4d';'1.7e';'1.8f'} %I wanna plot the data and ids like, plot(ids,data,...

10 years ago | 1 answer | 0

1

answer

Question


I need to create a matrix with for loop.
x=[100;120;130;140;150]; y=[120;130;140;150;170]; z=[130;150;170;180;190]; %I need to create this matrix with loop be...

10 years ago | 2 answers | 0

2

answers

Question


writing all numbers on x axes with plot function
%for example id=[1;2;3;4;5;6;7;8;9;10;11;12;13;14;15]; north=[100;101;102;103;104;105;106;107;108;109;110;111;112;11...

10 years ago | 1 answer | 0

1

answer

Question


plotting 3 lines in same axes (same figure) with different colors
ids=[1;2;3;4;5;6;7;8;9;10]; dx=[0.1;0.2;0.3;0.4;0.5;0.6;0.7;0.8;0.9;0.10]; dy=[0.01;0.02;0.03;0.04;0.05;0.06;0.07;0.08;0...

10 years ago | 2 answers | 0

2

answers

Question


adjusting label and title thickness of the plot function
x=[1;2;3;4;5;6;7;8;9;10]; plot(x); xlabel('x coordinates') ylabel('y coordinates') title('title') ...

10 years ago | 2 answers | 0

2

answers

Question


drawing specific histogram for errors.
<</matlabcentral/answers/uploaded_files/15395/picture.jpg>> %I have error values from the difference between measured value a...

10 years ago | 1 answer | 0

1

answer

Question


adjustment of the histogram bar's thickness
data=[-0.00044;0.01355;0.00755;0.00455;0.01555;0.01955;0.00555;0.00455;0.01755;0.01655]; figure; hist(data) %I need t...

10 years ago | 3 answers | 0

3

answers

Question


creating callback for each string of a popupmenu in GUI
%I have a popupmenu in GUI and I created 3 strings (x,y,z) in this popupmenu. I need to create callback for each 3 strings. Each...

10 years ago | 2 answers | 0

2

answers

Question


increasing precison of num2str for dlmcell function.
function dlmcell(file,cell_array,varargin) %% <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><> %% % ...

10 years ago | 1 answer | 0

1

answer

Question


arrangement problem with writing cellArray to txt file.
[fileName, filePath] = uiputfile('*.txt', 'Create a file:') if ~ischar(fileName) return; end fileID = fopen(full...

10 years ago | 1 answer | 0

1

answer

Question


writing cellArray to doc file.
[fileName, filePath] = uiputfile('*.doc', 'Create a file:') if ~ischar(fileName) return; end fileID = fopen(full...

10 years ago | 1 answer | 0

1

answer

Question


increasing floating point for cellfun function
cellArray1_1 = [1] [38.583118749173565] [32.905715386802711] [36] '36S' [1.000000830761463] [1] ...

10 years ago | 1 answer | 0

1

answer

Question


Downloading igs file from the server
http://igscb.jpl.nasa.gov/components/prods_cb.html % this is the main site, in this site under the "IGS Final Orbit available...

10 years ago | 1 answer | 0

1

answer

Question


points id and scatter markers distance adjustment in figure.
% for example; x=[1000;1100;1200]; y=[2000;2100;2200]; points_id={'p100';'p200';'p300'}; figure(1),scatter(x, y, '...

10 years ago | 1 answer | 0

1

answer

Question


determine loop which include cellarrays
z=[1 2 3;4 5 6;7 8 9]; for i=1:3 w{i}=z(:,i) end w = [3x1 double] [3x1 double] [3x1 double] %I ne...

10 years ago | 1 answer | 0

1

answer

Load more