Answered
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 ...

meer dan 7 jaar ago | 0

Answered
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...

meer dan 7 jaar ago | 0

Answered
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...

meer dan 7 jaar ago | 0

| accepted

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

meer dan 7 jaar ago | 0

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

meer dan 7 jaar ago | 0

| accepted

Answered
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...

meer dan 7 jaar ago | 0

| accepted

Answered
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>.

meer dan 7 jaar ago | 0

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

meer dan 7 jaar ago | 1

| accepted

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

meer dan 7 jaar ago | 0

| accepted

Answered
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;

meer dan 7 jaar ago | 1

| accepted

Answered
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...

meer dan 7 jaar ago | 1

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

meer dan 7 jaar ago | 0

| accepted

Answered
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...

meer dan 7 jaar ago | 0

| accepted

Answered
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...

meer dan 7 jaar ago | 3

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

meer dan 7 jaar ago | 0

Answered
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 ...

meer dan 7 jaar ago | 0

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

meer dan 7 jaar ago | 1

| accepted

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

bijna 8 jaar ago | 1

Answered
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')

bijna 8 jaar ago | 0

Answered
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...

bijna 8 jaar ago | 1

| accepted

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

bijna 8 jaar ago | 2

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

bijna 8 jaar ago | 0

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

bijna 8 jaar ago | 0

| accepted

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

bijna 8 jaar ago | 0

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

bijna 8 jaar ago | 0

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

bijna 8 jaar ago | 1

Answered
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...

bijna 8 jaar ago | 1

Answered
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 ==...

bijna 8 jaar ago | 0

Answered
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' '...

bijna 8 jaar ago | 1

| accepted

Answered
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...

bijna 8 jaar ago | 1

| accepted

Load more