Answered

How can i solve these systems of ODE

Well, you have to solve the system of BVPs several times for each different values of Gr, Pr and Sc. Then you can plot the data ...

How can i solve these systems of ODE

Well, you have to solve the system of BVPs several times for each different values of Gr, Pr and Sc. Then you can plot the data ...

8 years ago | 0

Answered

how to do 1d vector deletion?

% First, delete from index 20000 to 50000 v = v(1:19999); % Delete the index containing the value 132 v = v(v~=132);

how to do 1d vector deletion?

% First, delete from index 20000 to 50000 v = v(1:19999); % Delete the index containing the value 132 v = v(v~=132);

8 years ago | 0

Submitted

Disk with a rod

Solves the initial value problem of the motion of a mass point attached to a disk with a rod

8 years ago | 1 download |

Answered

What is the benefit of using a function handle?

The two statements are not the same. The first one defines a function while the second one is an equality. The two identical for...

What is the benefit of using a function handle?

The two statements are not the same. The first one defines a function while the second one is an equality. The two identical for...

8 years ago | 0

Answered

having trouble to insert text in GUI table

It is because you supplied a string. Convert it to number. edit1 = str2num(edit1); edit1 = ceil(edit1); ...

having trouble to insert text in GUI table

It is because you supplied a string. Convert it to number. edit1 = str2num(edit1); edit1 = ceil(edit1); ...

8 years ago | 0

Answered

How can i solve these systems of ODE

These are typical boundary layer equations. There are several strategies to tackle it. The two main solution methods: truncate i...

How can i solve these systems of ODE

These are typical boundary layer equations. There are several strategies to tackle it. The two main solution methods: truncate i...

8 years ago | 0

| accepted

Answered

open external programs via matlab

If you want to open an external file outside MATLAB, use the <http://www.mathworks.com/help/matlab/matlab_env/run-external-comma...

open external programs via matlab

If you want to open an external file outside MATLAB, use the <http://www.mathworks.com/help/matlab/matlab_env/run-external-comma...

8 years ago | 3

Answered

How to call matlab built-in common functions, such as open, save as, in GUI?

If you want to close the figure, do not click on Exit, but on Close. If you want to save something inside the GUI, use <http://...

How to call matlab built-in common functions, such as open, save as, in GUI?

If you want to close the figure, do not click on Exit, but on Close. If you want to save something inside the GUI, use <http://...

8 years ago | 0

Submitted

MATLAB to PHClab

Convert a system of polynomial equations to a PHClab-compatible format

8 years ago | 2 downloads |

Answered

How to avoid a vertical line at discontinuity point?

I advise you to handle the subintervals distinctly and plot them independently from each other. In that case no vertical (more p...

How to avoid a vertical line at discontinuity point?

I advise you to handle the subintervals distinctly and plot them independently from each other. In that case no vertical (more p...

8 years ago | 0

Answered

memory requirement for ode solvers

I recommend you to discretize first in time and then in space. Then you don't have to handle large number of ordinary differenti...

memory requirement for ode solvers

I recommend you to discretize first in time and then in space. Then you don't have to handle large number of ordinary differenti...

8 years ago | 0

Answered

Verticalalignment for edit text GUI

Unfortunately there is no such property for uicontrols just for text objects. However, if you are proficient in Java, you can so...

Verticalalignment for edit text GUI

Unfortunately there is no such property for uicontrols just for text objects. However, if you are proficient in Java, you can so...

8 years ago | 0

Answered

I do not want to plot the 0 components of my vector; how do I remove these components without effecting the length of the vector?

Use Energy(Energy == 0) = NaN; It will not shorten the length of the vector, but will not be displayed on the graph.

I do not want to plot the 0 components of my vector; how do I remove these components without effecting the length of the vector?

Use Energy(Energy == 0) = NaN; It will not shorten the length of the vector, but will not be displayed on the graph.

8 years ago | 3

Answered

Accuracy in mandelbrot set

Your problem is not with accuracy, but the resolution. Try to increase it. I also have a Mandelbrot viewer and I use 1000x1000 r...

Accuracy in mandelbrot set

Your problem is not with accuracy, but the resolution. Try to increase it. I also have a Mandelbrot viewer and I use 1000x1000 r...

8 years ago | 0

Answered

sum of product of 2 matrices

It is just a standard matrix-matrix product: u*r. So enter value = u(1,:)*r; The j-th column of the matrix "value" will ...

sum of product of 2 matrices

It is just a standard matrix-matrix product: u*r. So enter value = u(1,:)*r; The j-th column of the matrix "value" will ...

8 years ago | 2

Answered

Plotting a 6 Dimensional Array

Plot like a multivariate function: by its level sets.

Plotting a 6 Dimensional Array

Plot like a multivariate function: by its level sets.

8 years ago | 0

| accepted

Answered

how to use octave with matlab?

Change xlable to xlabel and ylable to ylabel. Then it will work.

how to use octave with matlab?

Change xlable to xlabel and ylable to ylabel. Then it will work.

8 years ago | 1

| accepted

Question

How can I acquire the calling function in an object?

Hello everyone, I have a class that has several methods. How can I access the name of a specific method (function) in another...

8 years ago | 1 answer | 0

Answered

How to plot a graph of convergence for Newtons method of three variables?

This is a classic parameter sweep. Alter one parameter while the others are fixed. Then solve the nonlinear equations. When you ...

How to plot a graph of convergence for Newtons method of three variables?

This is a classic parameter sweep. Alter one parameter while the others are fixed. Then solve the nonlinear equations. When you ...

8 years ago | 0

Submitted

Polar decomposition

Perform the polar decomposition of a regular square matrix

8 years ago | 8 downloads |

Submitted

Frobenius product

Calculates the Frobenius inner product of two matrices

8 years ago | 6 downloads |

Answered

Help tidying my code!

Since rows navMemory.navState = 3; and navMemory.kk_temp = 0; occur under the same condition (navMemory.kk_temp >10), you can pu...

Help tidying my code!

Since rows navMemory.navState = 3; and navMemory.kk_temp = 0; occur under the same condition (navMemory.kk_temp >10), you can pu...

8 years ago | 1

Question

Can we define operators in MATLAB?

I started learning OOP in MATLAB and I saw that we can either use the colon(A,B) syntax or simply A:B. This kind of method works...

8 years ago | 3 answers | 3

Answered

error using solve for equation with one unknown

The values of a, b, cof are not retained in the string, so use syms p solve((1+g)*cos(p*pi)*(sin(p*g)^2-p^2*sin(g)^2)+(...

error using solve for equation with one unknown

The values of a, b, cof are not retained in the string, so use syms p solve((1+g)*cos(p*pi)*(sin(p*g)^2-p^2*sin(g)^2)+(...

8 years ago | 0

Answered

Speed up a program

Why didn't parfor and CUDA work? Do you meet the requirements?

Speed up a program

Why didn't parfor and CUDA work? Do you meet the requirements?

8 years ago | 0

Answered

Does MATLAB GPU computing support the AMD FirePro 700 GPU?

If I am not mistaken, MATLAB can only make use of CUDA-capable (i.e. nvidia) GPUs.

Does MATLAB GPU computing support the AMD FirePro 700 GPU?

If I am not mistaken, MATLAB can only make use of CUDA-capable (i.e. nvidia) GPUs.

8 years ago | 0

| accepted

Answered

How Can I Speed up a loop that solves a pde?

When you did your calculations on paper, you probably wrote the problem as a linear system. Try to create the coefficient matrix...

How Can I Speed up a loop that solves a pde?

When you did your calculations on paper, you probably wrote the problem as a linear system. Try to create the coefficient matrix...

8 years ago | 0

Answered

integral of a numerical vectors

Use <http://www.mathworks.com/help/matlab/ref/trapz.html trapz> : trapz(Time,Volt);

integral of a numerical vectors

Use <http://www.mathworks.com/help/matlab/ref/trapz.html trapz> : trapz(Time,Volt);

8 years ago | 0

Answered

How do I impose dirchlet boundary conditions in a matlab code for a finite difference solution to the kirchhoff's plate equation?

If I know well, Kirchhoff's model include Neumann boundary conditions too that must also be fulfilled. I would use the boundary ...

How do I impose dirchlet boundary conditions in a matlab code for a finite difference solution to the kirchhoff's plate equation?

If I know well, Kirchhoff's model include Neumann boundary conditions too that must also be fulfilled. I would use the boundary ...

8 years ago | 0

Answered

Script for solving Newtonâ€™s laws of motion & plotting an object's trajectory

As Star Strider said, create a function to pass those arguments.

Script for solving Newtonâ€™s laws of motion & plotting an object's trajectory

As Star Strider said, create a function to pass those arguments.

8 years ago | 0