Answered
Matlab figures: print Vector graphic cointaining image data
Processing 650 thousand patch objects needs time. Creating and interpreting vector graphics with a huge number of elements store...

8 years ago | 0

| accepted

Answered
Unexpected MATLAB operator error (struct array issue)
Did you include the ">>" in the code of the function or script? If so, remove this, because this is the prompt in the command wi...

8 years ago | 0

Answered
Pass installation license to a command line only linux PC
Deactivate the license on one computer, activate it on the other one. See: * <https://www.mathworks.com/help/install/ug/deact...

8 years ago | 0

Answered
Can the output of 'whos' operating on a workspace be duplicated for a structure array?
*UNTESTED CODE* written in the forums interface: function Sout = NoGUIFields(Sin) % Input: Scalar struct % Output: In...

8 years ago | 1

| accepted

Answered
Allocating segmented images to own variables into loops
The answer is easy: Don't do this. Creating a bunch of variables dynamically is a complicated method, which requires even more c...

8 years ago | 2

Answered
Is it possible for Matlab to import the data and put in into tables?
The sensor does not "send data to the command shell", but you call a program, which displays the output of the sensor in _stdout...

8 years ago | 0

Answered
Will I be able to hash a DICOM image?
See * <https://www.mathworks.com/matlabcentral/fileexchange/31272-datahash FEX: DataHash> * <https://www.mathworks.com/matla...

8 years ago | 0

Answered
MATLAB CODE NEWTON METHOD
What is happening with variable n during execution? It is increased by 1 in each iteration. It counts the number of iteratio...

8 years ago | 0

Answered
This error was detected while a MEX-file was running. If the MEX-file is not an official MathWorks function, please examine its source code for errors. Please consult the External Interfaces Guide for information on debugging MEX-files.
MexVideoReader.cpp does not belong to Matlab's toolboxes, so the readers have to guess, which function you are talking of. Maybe...

8 years ago | 0

Answered
we are unable to install communication system tool box for rtl sdr in matlab 2015.please help us
Without seeing any detail it is impossible to suggest a solution. But I assume contacting the technical support of MathWorks is ...

8 years ago | 0

Answered
Combining inputdlg with listdlg
No, there is no pre-defined function for this. But you can simply create one: function yourDlg(Str, List) dialog('Positi...

8 years ago | 1

Answered
How to display data without single quotes in matlab command window?
Three guesses: fprintf('%s', data) disp(data) disp(strrep(data, char(39), '')) % CHAR(39) is the quote '

8 years ago | 0

| accepted

Answered
Insufficient number of outputs from right hand side of equal sign to satisfy assignment
This is a tricky line and source of bugs: [min,index]=min(newfitness2); Before this line |min| is a function (or at lea...

8 years ago | 0

Answered
how to find Place on non zero values in matrix?
A = [0,0,0,1,0,0,1,1,0;0,0,1,0,0,0,0,0,1;0,0,0,0,1,0,0,0,0] result = cellfun(@find, num2cell(A, 2), 'UniformOutput', 0...

8 years ago | 1

Answered
Linking Image processing code with GUI
You could insert the lines directly in a callback. Or you call this function from the callback and provide a handle to an axes, ...

8 years ago | 0

Answered
i have a problem with my code for error." Error using zeros Size inputs must be integers. "
Use the debugger to find the problem: * <https://www.mathworks.com/help/matlab/debugging-code.html> * <https://www.mathwork...

8 years ago | 0

Answered
Annotating an Arrow with in a plot.
See: <https://www.mathworks.com/matlabcentral/fileexchange/8269-transform-axes-units-to-normalized-units-for-annotation-objects ...

8 years ago | 0

| accepted

Answered
How we cn define the toolbox?
A "toolbox" is a set of functions. Usually they are stored in a specific folder, which is included in the |path| (see: |help add...

8 years ago | 0

| accepted

Answered
Setting the default figure size in Matlab once.
Simply insert this line in your |startup.m| file. If you do not have such a file, create it. See <https://www.mathworks.com/h...

8 years ago | 9

| accepted

Answered
Why the answer is like that?
No, 0.06 is not a solution. Simply try it: x = 0.06 (log(5)*log10(8)*sinh(x)) / (atan(0.5)*(3^(1/5))*abs(cos(2*pi/3))*ex...

8 years ago | 1

Answered
why is my error plot not showing?
Do not use "error" as a name of a variable, because this shadows an important built-in function with the same name. Afterwards t...

8 years ago | 1

Answered
Jacobi method: Error with index in the while loop.
This cannot work: k = 1; while normValue > Tol x(k) = B_jacobi*x(k-1) + c_jacboi; because in the 1st iteration...

8 years ago | 0

Answered
NAMING THE FILE TO BE SAVED
Maybe you want to replace the file extension only: InFile = 'C:\Data\features_100.ecg'; [Folder, Name] = filepar...

8 years ago | 0

Answered
Operations on graphic object arrays
I strongly recommend to read the documentation in case of questions: <https://www.mathworks.com/help/matlab/ref/close.html |doc ...

8 years ago | 0

Answered
MATLAB Plot Function For Sum of Series Problem
And another approach: AxesH = axes('NextPlot', 'add'); s = 0; for k= 1 : 1 : 10 s = s + 2 * (((-1)^(k+1)) + 1) *...

8 years ago | 0

Answered
how can i install matlab on my pc with window 7
Did you search in the forum or the internet already? You would find this: <https://www.mathworks.com/matlabcentral/answers/99...

8 years ago | 0

| accepted

Answered
Assignment has more non-singleton rhs dimensions than non-singleton subscripts
Why did you change % frames = zeros(numberOfFrames,frameSize); to % frame = zeros(1,frameSize); frames = numberO...

8 years ago | 0

Answered
Write data to text file containing \s in string?
Replace fprintf(textfil2, '\n') by fprintf(textfil2, '%s', '\n') In the first case '\n' is interpreted as format...

8 years ago | 1

Answered
C Mex file cannot access workspace variables
real32_T* xVals; xVals = mxGetPr(x_ptr); mxGetPr returns a pointer to a |double| array, but you store it in a |reat32_T...

8 years ago | 0

Answered
How to stop a parabola from intersecting itself?
Replace: plot(Axes_2,[-r_R,r_R],[z_z0,z_z0]); by: x = [-(r_R(end:-1:2), r_R]; y = [z_z0(end:-1:2), z_z0]; pl...

8 years ago | 0

| accepted

Load more