Answered
For loop in a for loop doesn't work
Use the debugger to find out, what's going on: Set a breakpoint inside the loop and step through the code line by line observing...

9 years ago | 0

Answered
assignin and eval functions
The actual question is: why MATLAB does not stop their usage The drawbacks of |eval| and |assignin| have been <https://ww...

9 years ago | 4

Answered
How to calculate the indefinite integral of the polynomial
Follow Torsten's hint: You can integrate the expressions |a*x^n| manually. See how the polynomial is defined. Then you will find...

9 years ago | 0

Answered
How to update new license matlab 2013a?
Ask MathWorks directly. This is the public forum and we cannot sell you a new license. Use the "Conatct Us" link instead.

9 years ago | 0

Answered
Difference between String and Value
The 'String' property contains the string (character vector), which is displayed in the GUI. The 'Value' contains a numerical va...

9 years ago | 0

Answered
how to find norm of each vector in one matric in Matlab?
<https://www.mathworks.com/matlabcentral/fileexchange/29035-dnorm2>

9 years ago | 1

Answered
problem with the previous data in matlab gui
What is "the gui variable"? Do you mean the |handles| struct? Then: handles.yourData = []; guidata(hObject, handles); ...

9 years ago | 0

Answered
Binary file read 16bit word in 2's complement
What happens if you simply try it with |fread|? Post the code and explain the remaining problems specifically.

9 years ago | 0

| accepted

Answered
Clarification regarding license of MATLAB
In 12 days. This is the 11-Nov-2017. This question has been asked repeatedly in this forum. Always with the same date. And the s...

9 years ago | 0

Answered
my data in excel keep overwriting
We see the working code and the output, which is created exactly how the code does define it. To help you, we need an explanatio...

9 years ago | 0

Answered
Hi; What is wrong in my code
The error message tells you, that the output for n=1 differs from the expectations. Look what your code does in this case. What ...

9 years ago | 0

Answered
previously accessible file is inacessible.
I had removed file/s strsplit.m and a couple of others from matlab's core directory This is really *scary*. This idea is r...

9 years ago | 0

| accepted

Answered
Write text and numbers using fprintf
na = ['a' 'b' 'c']'; % Now this is a [3 x 1] matrix already cor = [1.67 2.34 3.55]' % This is a [3 x 1] matrix also ...

9 years ago | 0

Answered
Problem in loading a large script
A huge script, generated automatically, global variables, numbered variables - a lot of bad programming practices. It is not cle...

9 years ago | 0

Answered
How to deactivate of mathwork online account?
You have to contact MathWorks officially. Please use the "Contact Us" link on this page.

9 years ago | 0

Answered
How do I store values from a while-loop
it = 0; errOut = zeros(numel(x), max_it); % Pre-allocate while (max(err) >= tol) && (it < max_it) it = it +...

9 years ago | 1

| accepted

Answered
Use global variable in another GUI.
You have to declare a variable as global in *each* function you want to use it, of course. Otherwise it would be easy to let Mat...

9 years ago | 0

| accepted

Answered
won't let me in!!
Please add the details instead of "finished everything". I do not know what the "Big edge client" is or why it matters here. *I*...

9 years ago | 0

Answered
evaluate a matrix, and create bool array from results
Unfortunately you did not mention which kind of boundary conditions you want to apply. Then a guess: M = rand(100, 100); ...

9 years ago | 1

| accepted

Answered
How to read the given type of data from text file as an input to my further matlab code
There is a trivial answer: |fileread| reads the entire file. But I guess that you want to split and interpret the data, but you ...

9 years ago | 0

Answered
hey, help me fix my problem on save image .
The error message is clear: The contents of the variable |bw| is an empty array, but |imwrite| cannot write images without pixel...

9 years ago | 0

Answered
I made an GUI on 64 bit pc want convert into an application but it not running in the 32 bit pc ?Any help..
You can create 32 bit executables only on a 32 bit Matlab system. R2015b was the last 32 bit version, so you have to install it ...

9 years ago | 1

| accepted

Answered
can't launch Matlab 2017b on Windows 8.1
Windows 8 is not supported by R2017b, but 8.1 is. So this is not a problem of the operating system. Perhaps there was a fault at...

9 years ago | 0

| accepted

Answered
How can l get a dynamic tree in terms of depth and number of childs?
Is there any pre-implemented library dealing with this kind of tree? No. Or any ideas on how to build this tree ? Yes...

9 years ago | 1

Answered
Is there a way to determine illegal characters for file names based on the computer operating system?
You have to write the checking for the different operating systems separately: function [Valid, Msg] = CheckFileName(S) ...

9 years ago | 0

| accepted

Answered
To locate an entire row in an mxn matrix when I only know first two entries in that row
head = M(M(:,1) == x & M(:,2) == y, 3) Or the "entire" row: head = M(M(:,1) == x & M(:,2) == y, :)

9 years ago | 0

| accepted

Answered
Code error "Index exceeds matrix dimensions." Anyone help me, Thanks in Advance
Just some hints: * A reliable code requires comments. Without them neither readers, not you can understand the meaning of the...

9 years ago | 0

Answered
How to get the pixel vales along a line?
It depends on what "the pixels" are. You can get n points on the line from [lat11, long12] to [lat21, long22] (by the way: stran...

9 years ago | 0

Answered
How to write the summation of the maclaurin series of cos(x)?
The MacLaurin series of |cos()| is: cos(x) := Sum(i = 0 to Inf) [((-1)^i / (2*i)!) * x ^ (2*i)] [EDITED, "2*i!" replaced...

9 years ago | 2

| accepted

Answered
How do I verify a statement and display the resulting matrix that consists of logical 1 or 0?
Or considering the limited precision: matDT = matD.'; k = 10; R = abs(matD - matDT) < k * eps(max(abs(matD), ...

9 years ago | 0

Load more