質問


cell to double problem for loop includes cellarrays.
A=[1 1;2 2;3 3;4 4;5 5;6 6;7 7;8 8;9 9;10 10;11 11;12 12;13 13] B=[3;4;3;3] C=[1;2;3;4;5;6;7;8;9;10;11;12;13] for k =...

10年以上 前 | 2 件の回答 | 0

2

回答

質問


matrix computations in the loop as cell.
coord=[10 12;15 17;20 20;32 32;50 52;44 45;65 69]; v=[1 1.01 1.02;1.01 1.03 1.03;1.11 1.11 1.12;1 1.14 1.12 ;1 1 1;1 1 1;1 ...

10年以上 前 | 1 件の回答 | 0

1

回答

質問


determine the loop which satisfies the particular condition.
A=[1 1;2 2;3 3;4 4;5 5;6 6;7 7;8 8;9 9;10 10;11 11;12 12;13 13] B=[3;4;3;3] %I need to create this loop w.r.t A and B. ...

10年以上 前 | 2 件の回答 | 0

2

回答

質問


finding repetition numbers in array.
A=[1;1;1;2;2;2;2;3;3;3]; %double %I wanna known how many times 1,2,3 are exist in A matrix with orderly like that; rep=[...

10年以上 前 | 2 件の回答 | 0

2

回答

質問


for loop to control cellarray whether it is changing or not.
ids=[{'100'};{'100'};{'100'};{'p200'};{'p200'};{'p300'};{'p300'};{'pp400'};{'pp400'}]; %cell data=[100;110;120;130;140;150;...

10年以上 前 | 1 件の回答 | 0

1

回答

質問


cellarray which contains different types of data
belows came from the results from codes in editor page; txt1 = 'p4004' [4005] [4007] [4009] [4015...

10年以上 前 | 3 件の回答 | 0

3

回答

質問


Error using cell/ismember>cellismemberR2012a error
% belows came from command window not codes, txt1 = 'p4004' [4005] [4007] [4009] [4015] [402...

10年以上 前 | 1 件の回答 | 0

1

回答

質問


Undefined function 'eq' for input arguments of type 'cell error
txt1=[{'a'},{'b'},{'c'}]; txt1=txt1(:); data=[{'a'},{'b'}]; data=data(:); [row,col] = find(txt1==data) %it ...

10年以上 前 | 3 件の回答 | 0

3

回答

質問


I need to manipulate this cellArray
data=[{'100'},{'p1'},{'1'};{'100'},{'p2'},{'1'};{'110'},{'p3'},{'0'};{'120'},{'1'},{'1'};{'130'},{'p4'},{'0'}]; %I need to ...

10年以上 前 | 1 件の回答 | 0

1

回答

質問


manipulating cells in array.
A=[ {'1'},{'1'},{'1'},{'1'},{'0'},{'1'},{'0'},{'1'}] %cell A=A(:) %I need to get rid of all zeros from A matrix then I...

10年以上 前 | 1 件の回答 | 0

1

回答

質問


find function with cells
A=[ 'a','b','c','d','e']; A=A(:); %for example I need to find which row equals 'd' in A matrix, how can I use find functio...

10年以上 前 | 1 件の回答 | 0

1

回答

質問


I need to manipulate this matrix
A=[10 20 30 40;50 60 70 80;90 100 110 120] %I need to order each rows vertically like that; B=[10;20;30;40;50;60;70;80...

10年以上 前 | 1 件の回答 | 0

1

回答

質問


find function with floating points number
distances=[100.2545 120.6632;200.8588 220.4465] points_id=[{'p1'} {'p2'};{'p3'} {'p4'}] pointfind = @(d) p...

10年以上 前 | 2 件の回答 | 0

2

回答

質問


numeric values need to be equalize to symbolic values.
distances=[100 120;200 220] points_id=[{'p1'} {'p2'};{'p3'} {'p4'}] % I need to equalize each matrixes to each o...

10年以上 前 | 1 件の回答 | 0

1

回答

質問


To order min to max value for matrix's row
a=[0.412 0.322 0.300 0.112;0.222 0.05 0.350 0.555] % I wanna order row's value min to max. like that; a=[0.112 0.300 0.3...

10年以上 前 | 3 件の回答 | 0

3

回答

質問


using for loop with 2 variables.
a=[1;2;3;4] b=[5;6;7] for i=1:4 for j=1:3 x=a(i)+b(j) end end % it gives 12 x but I cannot merge all x(i...

10年以上 前 | 1 件の回答 | 1

1

回答

質問


draw line between points in the figure
points_id={'p1','p2','p3','p4'} x=[100,120,130,140] %coordinates y=[200,220,330,340] %coordinates ...

10年以上 前 | 1 件の回答 | 0

1

回答

質問


problem for creating vector with for loop
a={'w','c','e'}; %I wanna create 2 times of w,c,e, with using for loop, like this aa={'w','w','c','c','e','e'};

10年以上 前 | 3 件の回答 | 0

3

回答

質問


error using horzcat while working gui.
raw={'p1'; 'p2'; 'p3'} %points id column1=[200;250;300] %distances column1=num2cell(column1) checked=fal...

10年以上 前 | 1 件の回答 | 0

1

回答

質問


uitable set handles for logical
%I have a blank uitable in GUI. 3 columns and several rows. %I wanna place checkbox in 3th column in this uitable. % 1th ...

10年以上 前 | 1 件の回答 | 0

1

回答

質問


Attempt to call constructor uitable with incorrect letter case
f = figure('Position',[100 100 400 150]); dat = {6.125, 456.3457, true, 'Fixed';... 6.75, 510.2342, false, 'Adj...

10年以上 前 | 1 件の回答 | 0

1

回答

質問


uitable checkbox in GUI
raw={'p1','p2','p3'}; %points id column1=[200;250;300]; %distances column1=num2cell(column1); cellArray=[...

10年以上 前 | 1 件の回答 | 0

1

回答

質問


how can I seperate between points id and scatter markers in figure?
example; x=[1000;1100;1200]; y=[2000;2100;2200]; points_id={'p100';'p200';'p300'}; figure(1),scatter(x, y, 'b^');gri...

10年以上 前 | 2 件の回答 | 0

2

回答

質問


writing two integer together into edit text.
a=1787; b=4; %I need to add b to the end of a, like this "17874". Then I need to write this number into edit text in GUI. ...

10年以上 前 | 1 件の回答 | 0

1

回答

質問


writing cellArray to txt file.
%for example; cellArray= 'p1' [400] [500] [600] 'p2' [650.45] [400.78] [390.90...

10年以上 前 | 1 件の回答 | 0

1

回答

質問


Conversion to cell from sym for matrix.
%I need to perform sym to cell conversion for matrix. Then I need to use set(handles...) to write matrix into uitable. %for e...

10年以上 前 | 0 件の回答 | 0

0

回答

質問


How can I solve these 3 nonlinear equations for eqn1, eqn2 and eqn3 goes to zero?
eqn1=(((((x-4157246.5346)^2)+((y-671877.0281)^2)+((z-4774581.6314)^2))^0.5)-566.8635) eqn2=(((((x-4156749.5977)^2)+((y-672711...

10年以上 前 | 1 件の回答 | 0

1

回答

質問


how to perform pinv with symbolic values without loosing precision comes from vpa function?
R = [4157066.11113704969163796320578974731594179835134484 671429.665455965103663684268506862702153063263269903 47748...

10年以上 前 | 1 件の回答 | 0

1

回答

質問


how to use groebner funtion
%I have 3 nonlinear polynomial equations. I would like to use Groebner method in matlab to solve them. Please show me how to do ...

11年弱 前 | 1 件の回答 | 0

1

回答

質問


applying vpa function for fsolve
%I need high precision while using fsolve function. My equations are badly scaled. %I need to have like 100 digits after the ...

11年弱 前 | 2 件の回答 | 0

2

回答

さらに読み込む