質問


How to print cell contents into m-file?
I Need to Combine These two variables and print in m-file. |inputs| and |signs| length may vary. |signs| can only contain multip...

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

2

回答

質問


How to write cell array contents into m-file as shown below?
I have a cell Array vector as attached (length may vary). It contains variable names. mycell = 5×1 cell array {'x' ...

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

1

回答

質問


How to create a variable from cell array contents?
I have a cell Array vector as attached (length may vary). It contains variable names. mycell = 5×1 cell array {'x' ...

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

1

回答

質問


Why there is no space after the equal sign? (fprintf)
fprintf('%s \n',strcat('s',' = ','1000',';')); Output: s =1000; Desired: s = 1000;

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

2

回答

質問


Why the first cell is printed in one row and second in two? (fprintf)
Why the first cell is printed in one row and second in two? I want the second cell to be printed in one row, same as first. ...

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

1

回答

質問


fprintf a long cell array vector into the file
I have |1x43| cell Array where each cell contains string (variable name), size can vary but it's always a vector. So in this c...

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

1

回答

回答済み
I have a text file having 7 columns. First column is UTC time in hours. This file is having data for almost 1 month. i need to separate data day wise and save it to different day . whenever first column value is > than 0.00, a new day is starting
First I have imported your data to matlab using its 'import data' tool. And created a table called 'anci'. Whose size is |5003x7...

7年以上 前 | 0

| 採用済み

回答済み
hi can you teach me how to plot teh below response with simulink
You can use the "signal builder" block which is found in "sources" of simulink library. Just double click on it and start creati...

7年以上 前 | 0

| 採用済み

回答済み
How to plot a heat map with three vectors?
I have made some modifications. The heatmap below Shows highest temp. each hour of a month, for two years. <</matlabcentral...

7年以上 前 | 1

| 採用済み

回答済み
matlab code for histogram
<</matlabcentral/answers/uploaded_files/119543/untitled.png>> A=[0.1;0.3;0.5;0.6;0.2]; B=[0.8;0.6;0.9;0.4;0.7]...

7年以上 前 | 0

| 採用済み

質問


Preallocate a variable of unknown size
Please help to preallocate the variable "D". Its size is unknown. clc; D = {}; Di = []; r = 1; N = length(nodes...

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

1

回答

回答済み
How do I repeat a for loop for all columns?
Try this. You should use two arguments (i,j) i=row number. j=column number. And one more "for" Loop, for the columns. n_ste...

7年以上 前 | 0

| 採用済み

質問


fprintf cell array if its size changes
I want my cell Array to appear in matlab file. But the Array size may Change from time to time and I have to Change the number ...

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

1

回答

回答済み
how to form branch to node incidence matrix by using tree
G = digraph([1 2 2 2 3 4], [4 1 3 4 1 3]); G.Nodes.Name = {'a' 'b' 'c' 'd'}'; h = plot(G); labelText = {'6' '3' '2' '...

7年以上 前 | 1

| 採用済み

回答済み
What does the step response plot in PID tuner indicate ?
"Reference tracking" is when the Controller Parameters are tuned to follow the reference. And there is another Approach too: "Di...

7年以上 前 | 1

| 採用済み

質問


How to generate function handle automatically from the cell array?
I have a 2x1 cell called "dx", which contains 1x3 cells: 'X * k * m' '*' '-1' 'X * k * m' '*' 'Y_XS' I want this "d...

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

1

回答

質問


Performance Problem in Simulink (why is it slower than matlab?)
I have compared Solutions to the same ODE in matlab and simulink. Simulink took 7.6 sec. while ode15s in matlab took 1.4 sec. to...

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

1

回答

質問


Finding peak from plot of data points
I want to find the peaks (max. points) in each plot (two plots) inside a figure i attached then find the difference in time (x-a...

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

1

回答

質問


Sound speed measurement (with two microphones)
I have two microphones connected to my laptop through one microphone port. The microphones are separated by some distance (about...

11年以上 前 | 2 件の回答 | 2

2

回答

質問


Using image processing tool measure the angle
UsingMATLAB image processingtool, measure the angle between the connections for the following figures. <</matlabcentral/...

11年以上 前 | 4 件の回答 | 0

4

回答

質問


How do I find area using image processing?
Determine the area of the big white spot on Jupiter as shown below. Also compare the size of the spot with size of Earth. No...

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

1

回答