Answered

How to ignore punctuation in a user string while scanning for words (textscan())?

This removes the specified punctuation in your word: regexprep(word, '[-!,.?]', '')

How to ignore punctuation in a user string while scanning for words (textscan())?

This removes the specified punctuation in your word: regexprep(word, '[-!,.?]', '')

13 years ago | 2

| accepted

Answered

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

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

13 years ago | 1

Answered

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

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

13 years ago | 3

Answered

Deploytool Error

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

Deploytool Error

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

13 years ago | 0

Answered

qfunc() division

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

qfunc() division

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

13 years ago | 1

| accepted

Answered

Determining What Calls a Function

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

Determining What Calls a Function

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

13 years ago | 0

| accepted

Answered

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

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

13 years ago | 0

| accepted

Answered

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

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

13 years ago | 0

Answered

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

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

13 years ago | 1

| accepted

Answered

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

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

13 years ago | 0

Answered

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

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

13 years ago | 1

| accepted

Answered

Redifining + function in matlab

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

Redifining + function in matlab

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

13 years ago | 1

| accepted

Answered

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

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

13 years ago | 5

| accepted

Answered

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

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

13 years ago | 0

Answered

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

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

13 years ago | 0

Answered

Riemann zeta function

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

Riemann zeta function

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

13 years ago | 0

Answered

cylnder surface

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

cylnder surface

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

13 years ago | 0

Answered

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

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

13 years ago | 0

Answered

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

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

13 years ago | 0

| accepted

Answered

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

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

13 years ago | 7

| accepted

Answered

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

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

13 years ago | 0

Answered

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

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

13 years ago | 0

Answered

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

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

13 years ago | 2

| accepted

Answered

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

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

13 years ago | 2

| accepted

Answered

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

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

13 years ago | 2

| accepted