Respondida
Converting a complex number to polar form and finding it's magnitude
r = abs(z); theta = atan2(imag(z),real(z)); Also... r = abs(z); theta = angle(z);

alrededor de 13 años hace | 1

| aceptada

Respondida
complex numbers in Symbolic Toolbox
*[Updated]* Define the symbolic variables as real and use the function |simplify| when needed: >> syms a b c d real; >> F=a...

alrededor de 13 años hace | 2

| aceptada

Respondida
how to increase iteration limit in glmfit ?
Iteration limit is set to 100 in glmfit. You cannot change it unless you edit the function and change it manually (type |edit gl...

alrededor de 13 años hace | 0

| aceptada

Respondida
How to ignore punctuation in a user string while scanning for words (textscan())?
This removes the specified punctuation in your word: regexprep(word, '[-!,.?]', '')

alrededor de 13 años hace | 2

| aceptada

Respondida
Breakpoints unpredictable in R2011a
Hi Robert, I haven't been able to reproduce this issue, but I have heard it from other users, so that makes it empirically a p...

alrededor de 13 años hace | 1

Respondida
How to get size of an object
Unfortunately, there is no way to check the amount of memory that is being occupied by class objects, since MATLAB is storing re...

alrededor de 13 años hace | 3

Respondida
Deploytool Error
Let's see if this solves the problem: <http://www.mathworks.com/support/solutions/en/data/1-BH89KJ>

alrededor de 13 años hace | 0

Respondida
qfunc() division
Notice that you are dividing the outputs from |qfunc| using only 4 decimal points to verify your analytic result. Actually, MATL...

alrededor de 13 años hace | 1

| aceptada

Respondida
Determining What Calls a Function
I use <http://www.mathworks.com/matlabcentral/fileexchange/9647 grep> for an equivalent version to Edit->Find Files.

alrededor de 13 años hace | 0

| aceptada

Respondida
GMRES residual jumps up for the last few iterations
What syntax are you using? [x,flag,relres,iter] = gmres(A,b,restart,tol,maxit); What are the values for |restart|, |t...

alrededor de 13 años hace | 0

| aceptada

Respondida
Getting a field in a Class
You should now be able to do: b.get('SomeVal') Or your access method for the SomeVal property has to be defined as public: ...

alrededor de 13 años hace | 0

Respondida
Problems with the limits of axes
This is an expected behavior of the image function. The direction of the y-axis is reversed. Notice that if you set the axes t...

alrededor de 13 años hace | 1

| aceptada

Respondida
Manipulate Cell Arrays
Let's see if I understand your question. First, you say: " In each cell I want to store arrays with 2 columns and a variable num...

alrededor de 13 años hace | 0

Respondida
“plot” function for some repetitive X values
I am not sure if I understand correctly.. is this what you are looking for? myTicks = 1:20; y = rand(1,length(myTicks)); plot...

alrededor de 13 años hace | 1

| aceptada

Respondida
Redifining + function in matlab
You should check object oriented programming with MATLAB and how to overload operators like '+'. To start with: <http://www.ma...

alrededor de 13 años hace | 1

| aceptada

Respondida
Is there a way to disable all warning messages from command window
warning off; Although you might just want to disable the warning that is bothering you: [msg, id] = lastwarn; warnin...

alrededor de 13 años hace | 5

| aceptada

Respondida
Dynamic (Recurrent) Neural Network - Input Data Structure- Concurrent inputs
Then I guess you are solving a big problem here. Recurrent networks take much longer than static feedforward networks to be trai...

alrededor de 13 años hace | 0

Respondida
ODE Solver Not Responding to Inputs
I suggest that you debug your code from t>20 on by setting a conditional breakpoint at if t>0 && t<20 To do this, after s...

alrededor de 13 años hace | 0

Respondida
Riemann zeta function
Yes, it exists in the Symbolic Math Toolbox. It's called "zeta". <http://www.mathworks.com/help/toolbox/symbolic/zeta.html>

alrededor de 13 años hace | 0

Respondida
cylnder surface
Here is one alternative version of cylinder.m that can be closed, rotated, etc. <http://www.mathworks.com/matlabcentral/filee...

alrededor de 13 años hace | 0

Respondida
Dynamic (Recurrent) Neural Network - Input Data Structure- Concurrent inputs
What are your inputs? What is the architecture of your network? By doing {[I1] [I2] ... [In]}, where each Ii is a 20x500 matrix...

alrededor de 13 años hace | 0

Respondida
Create a 32-bit application using 64-bit Matlab.
You can as of MATLAB R2010b create a 32-bit application using 64-bit machine: <http://www.mathworks.com/help/toolbox/compiler/m...

alrededor de 13 años hace | 0

| aceptada

Respondida
Neural Network sim(net, input) gives crazy results
As surprising as it can be, the output of the network is correct. So, how come such huge differences from your correct math inte...

alrededor de 13 años hace | 7

| aceptada

Respondida
random number generation with changing probability
If I understand correctly, you are looking for a random number generation of the binomial distribution, your outcome can either ...

alrededor de 13 años hace | 0

Respondida
Why can't I run Simulink from the command line inside a parfor loop?
Are you running MATLAB in a 32-bit or 64-bit machine? I say this because if you are running MATLAB in 32-bit and you are passing...

alrededor de 13 años hace | 0

Respondida
processing of i/p data
Hi Hoda, It is generally considered a good practice to pre and post process the data before and after its handled by the networ...

más de 13 años hace | 2

| aceptada

Respondida
setting input data division ratio
Hi Hoda, Let me paste an example of a simple 2-layer Feed-Forward network, to see if this works for you (you should be able ...

más de 13 años hace | 2

| aceptada

Respondida
Subplotting images with different scale
Hi Daniel, I am not sure if I understand your question correctly, but maybe linkaxes is what you are looking for: I1 = ra...

más de 13 años hace | 2

| aceptada