질문


Conditional 'for loop', simpler ?
Is it possible make a for double loop simpler. x=linspace(-2,2,100); s=1/2; [X,Y]=meshgrid(x,x); A = X.^2; B = Y; for k=1:si...

대략 5년 전 | 답변 수: 1 | 0

1

답변

질문


How to create a circle with segments of specific colors
I am trying to create an image of a circle with inner and outer radius, that is divided radially in segments. The...

대략 5년 전 | 답변 수: 1 | 0

1

답변

질문


Choose a number from counter by key pressing
I would like to have a repeating sequence in time of numbers 1 to 100. When a key is pressed to display the current number a...

대략 6년 전 | 답변 수: 1 | 0

1

답변

질문


Is there a function to draw the cie chromaticity diagram ?
Is there a function to draw the CIE chromaticity diagram ? How to use plotChromaticity ?

대략 6년 전 | 답변 수: 2 | 0

2

답변

질문


How to make 2D rainbow ?
How to make a 2D rainbow plot like https://en.wikipedia.org/wiki/Visible_spectrum#/media/File:Spectrum.svg <https://en.wiki...

6년 초과 전 | 답변 수: 1 | 0

1

답변

질문


How to make a Riemann surface plot of simple analytic functions ?
How to make a riemann surface plot of simple analytic functions ? The code below does not give the correct plots. clear al...

6년 초과 전 | 답변 수: 0 | 0

0

답변

질문


How to write to word file using utf-8 encoding
I cannot save cyrilic to word file. I tried also reading a text file in utf8 but cannot write it with the same encoding. How t...

6년 초과 전 | 답변 수: 1 | 0

1

답변

질문


How to copy only paragraph from text file
I would like to copy a paragraph from text file ( Sample text Sample text). The paragraphs are divided by 1-1 like numbering....

6년 초과 전 | 답변 수: 1 | 0

1

답변

질문


How to display info with mouse over text region inside a figure
Is there a way to display information when you put the mouse over a text region inside a figure. * x = linspace(-3,3); ...

6년 초과 전 | 답변 수: 3 | 1

3

답변

질문


How to sort the output of variables of cell array ?
I would like to sort the output of variables fx1 with the first digit and preserve the rows. sortrows(data,1) does not work ...

6년 초과 전 | 답변 수: 1 | 0

1

답변

질문


The inputdlg stays open
I would like to to have an input window and have the ability to change the input data. The code below uses inputdlg. The pro...

6년 초과 전 | 답변 수: 1 | 0

1

답변

질문


Cyrylic in Matlab .m file save and run issues
I am sure there should be a solution out there for using matlab with different alphabet that Latin. When I run a script with ...

6년 초과 전 | 답변 수: 1 | 0

1

답변

질문


value from string ?
I would like to use vectarrow function to draw vectors: <https://www.mathworks.com/matlabcentral/fileexchange/7470-plot-2d-3d...

6년 초과 전 | 답변 수: 1 | 0

1

답변

질문


How to compare non latin letters?
I would like to assign a number to a specific letter of name. But the name is let say in Cyrillic 'Том'. Now the isletter...

6년 초과 전 | 답변 수: 1 | 0

1

답변

질문


How to convert 2D image of circle shape to 2D straight line ?
I have an image 2D that looks pretty much like donut how to convert it to straight lines ? Basically I would like to sum over...

7년 초과 전 | 답변 수: 1 | 0

1

답변

질문


How to solve differential equation of 3 order analytically
I would like to solve a system of differential equaions x''[t] == -a0*(a1 - b*z'[t])*cos[w*t], x[to] == 0, x'[to] == 0 ...

7년 초과 전 | 답변 수: 1 | 0

1

답변

질문


How to plot second y axis y2 that is just related to y1 as f(y1)
I have a plot on y1 axis. I would like to have units conversion on axis y2, as f(y1). How can you plot two units on one graph...

7년 초과 전 | 답변 수: 1 | 0

1

답변

질문


How to distribute a vector in histogram in a loop ?
I have loop that generates a vector x of different size each iteration. I would like to just sum the values of the vector x t...

거의 8년 전 | 답변 수: 0 | 0

0

답변

질문


Full control of plot axes and labels?
I am having troubles with plot of figure. Seems it has alot of data point and respond quite slowly when I tried to change the fi...

거의 8년 전 | 답변 수: 0 | 0

0

답변

질문


How to manipulate cell array of vectors (just numbers ) that are not same length?
I want to plot cell array M{k} that has vectors of different size. How to do it ? How to transpose it ? plot(M{:}) retur...

대략 8년 전 | 답변 수: 2 | 0

2

답변

질문


How to pause execution of script ?
I want to pause execution of script and continue later ? How to do it ?

대략 8년 전 | 답변 수: 1 | 0

1

답변

질문


How to store vectors with different size in a loop ?
How to store vectors with different size and how to access them. M(k) found_roots F = @(t) cos(t)*exp(-t); A...

대략 8년 전 | 답변 수: 1 | 0

1

답변

질문


How to integrate integral(integral(cos(t),-10,t) ,t1,t2)
How to integrate numerically Z(t1,t2) ? My function is more complicated than cos but is analytical. integra...

대략 8년 전 | 답변 수: 1 | 0

1

답변

질문


How to get value from string II = strcat('A', num2str(la));
I want to plot few matrices A1 A2 A3 A4 A5 and call them in loop to make a movie. I am trying to make a string II = strcat('A',...

대략 8년 전 | 답변 수: 2 | 0

2

답변

질문


How to plot with pcolor one 2D function with two x axis ?
I would like to plot one function with two x axis. One on the bottom one on the top. The top is just different vector. How to a...

대략 8년 전 | 답변 수: 1 | 0

1

답변

질문


How to vectorize or speed up ODE solver with vector ?
I would like to vectorize or speed up ODE solver with vector E? This is extremely slow following this routine. nTime ...

대략 8년 전 | 답변 수: 0 | 0

0

답변

질문


How to take FFT inside ode function ?
Matlab is solving ode point by point in t . I want to take FFT inside the function myode. It can taken outside but the way I...

대략 8년 전 | 답변 수: 0 | 0

0

답변

질문


How to properly take derivative of discrete data ?
Taking derivative of discrete data requires some fitting and then using the b-form of the polynomial. How to make a 'good' fi...

대략 8년 전 | 답변 수: 1 | 0

1

답변

질문


How to make arrows in quiver plot visible ?
How to make the arrows some what more proportional and look like arrows ? The matrices are attached. A = load(A.m...

8년 초과 전 | 답변 수: 1 | 0

1

답변

질문


How to select element of matrix that is created with function handle ?
Let say we have matrix defined as A = @(a,n) [a 1 2+1i n*a; 0 1 3+n*1i a; a^2 0 1 a; a 0 0 a]; M1 = @(a)eye(4,4); f...

8년 초과 전 | 답변 수: 2 | 0

2

답변

더 보기