已回答
Plotting a linear function to a surface: how interpolate to obtain smooth curves, instead of linear lines?
What are you trying to achieve? Just setting the _EdgeColor_ property to _None_ might make it _look_ smoother. Also, you can ...

8 years 前 | 0

已回答
How to create .csv file from curve plot as a results of our run?
lH = plot(aH,rand(100,1),rand(100,1)); xData = lH.XData; yData = lH.YData; csvwrite('dummy.txt',[xData', yDat...

8 years 前 | 0

已回答
Using fprintf, how to print 1.234D+02 instead of 1.234E+02?
*EDIT* As said before, Stephen's answer is the way to go and I had previously posted an erroneous answer. Second try: ma...

8 years 前 | 0

| 已接受

已回答
Checking if inserted text has numbers
strTrue = 'Abs'; strFalse = '!abs!!!'; expr = '^[A-Za-z]'; a = isempty(regexp(strTrue,expr)) b = isempty(regexp(st...

8 years 前 | 0

已回答
How to generate polat plot for 4 variables
You need *R2016b* for _polarscatter()_.

8 years 前 | 0

| 已接受

已回答
select maximum numbers in vector array
You could use <https://se.mathworks.com/help/matlab/ref/sort.html _sort()_> and select the last/first third, depending on the ar...

8 years 前 | 0

| 已接受

已回答
How to run two MATLAB scripts simultaneously without open two different GUI windows
If you have the parallel computing toolbox, you could use <https://se.mathworks.com/help/distcomp/parpool.html parpool>.

8 years 前 | 0

已回答
How can i use a variable in my text(...) - command?
text(20,18,['\sigma_{a,1}=', num2str(ymax_woehler)])

8 years 前 | 1

| 已接受

已回答
Reshape 1x2 struct to 1x1 stuct where dimension doesn't match.
your_field = [A(1,1); A(1,2)];

8 years 前 | 0

| 已接受

已回答
Find max values of n previous values in a matrix without a loop.
a = randi(10,10,1); your_result = max([a, circshift(a,1), circshift(a,2)],[],2); your_result(1:2) = NaN;

8 years 前 | 1

| 已接受

已回答
num2str font size
_num2str()_ has *nothing* to do with the font size. It just does what its name implies. Once you have got your string, here is a...

8 years 前 | 1

已回答
How to convert ascii numbers to character data type in simulink
char([65,66])

8 years 前 | 0

| 已接受

已回答
How do you print only the final iteration of a for loop?
for ii = 1:10 display_me = %something; end display_me You could add an _if_ statement inside the loop to avoid...

8 years 前 | 0

| 已接受

已回答
Variable appears to change size on every loop iteration
The solution is to pre-allocate: Do results = ones(1,10) for ii = 1:10 results(ii) = ii; end instead of...

8 years 前 | 3

已回答
HOW TO GENERATE A PROGRAM FOR CONVOLUTIVE BSS
<http://research.ics.aalto.fi/ica/fastica/ Google is your friend>

8 years 前 | 0

已回答
how to run two matlab scripts in parallel?
You could use <https://se.mathworks.com/help/distcomp/parpool.html parpool()>. More flexible than _parfor()_ but you'd need the ...

8 years 前 | 0

已回答
How to refer the figure name in matlab
fH = figure; dummy = figure; plot(1:10); figure(fH); %Make fH current plot(rand(10,1));

8 years 前 | 1

| 已接受

已回答
Using regexp to extract labels
filetext = fileread('test.txt'); expr = '(?<=Label:\s+)([\w-\s]+)(?=\n)'; hits = regexp(filetext, expr, 'match')

8 years 前 | 1

已回答
How to write a "Big O notation" coding using MATLAB
Is this what you mean: axes; text(0.5,0.5,'$\mathcal{O}(n\log{}n)$','Interpreter','latex')

8 years 前 | 0

已回答
How can I create a not-equally-spaced sequence of numbers in MATLAB?
result = 24:32:511; to_add(numel(result)) = 0; to_add(3:2:end) = 1; result = result + cumsum(to_add); result(resu...

8 years 前 | 1

| 已接受

已回答
latex interpreter wrong output \treaderegisterd symbol
Workaround, <http://tex.stackexchange.com/questions/7032/good-way-to-make-textcircled-numbers shamelessly plagiarized>: axes...

8 years 前 | 2

已回答
plot two extreme points in one graph
You could use a <https://se.mathworks.com/help/matlab/ref/semilogx.html semi-logarithmic> plot.

8 years 前 | 0

已回答
How to calculate md5 for a specific value?
<https://se.mathworks.com/matlabcentral/fileexchange/31272-datahash No need to reinvent the wheel.>

8 years 前 | 0

| 已接受

已回答
Problem with using MATLAB via remote desktop connection
<https://se.mathworks.com/matlabcentral/answers/91874-why-do-i-receive-license-manager-error-103>

8 years 前 | 0

已回答
How to get the path of exe file?
<https://se.mathworks.com/help/matlab/ref/fileparts.html fileparts?>

8 years 前 | 0

已回答
Equivalent of [C{:}] for vertcat
*EDIT* cell2mat(A')

8 years 前 | 1

已回答
Why do we get Matlab system error in 2016a
Could this be another instantiation of all the fun related to libstdc++.so? Have a look <https://se.mathworks.com/matlabcentr...

8 years 前 | 1

已回答
how to find the location of a specific array element within the specific range in matlab?
*EDITED* to avoid the use of range d=[1 2 3 4 8 10 4 5 6 12 10 13]; idx(numel(d)) = 0; idx(4:8) = 1; a = find(d ==...

8 years 前 | 0

已回答
find a string from a cell array
a = {'Mon 22-08-2016' 'Mon 22-08-2016' 'Mon 22-08-2016' 'Tue 23-08-2016' 'Tue 23-08-2016' 'Tue 23-08-2016' '...

8 years 前 | 1

| 已接受

已回答
How to add text in a bar in a multiple bar plot?
M = [99.0000 93.0000 65.0000 95.0000 97.0000 97.0000; 84.0000 95.0000 79.0000 83.0000 92.0000 92.0...

8 years 前 | 1

| 已接受

加载更多