Réponse apportée
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...

presque 11 ans il y a | 0

Réponse apportée
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...

presque 11 ans il y a | 0

Réponse apportée
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.

presque 11 ans il y a | 3

Réponse apportée
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...

presque 11 ans il y a | 0

Réponse apportée
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 ...

presque 11 ans il y a | 2

Réponse apportée
Plotting a 6 Dimensional Array
Plot like a multivariate function: by its level sets.

presque 11 ans il y a | 0

| A accepté

Réponse apportée
how to use octave with matlab?
Change xlable to xlabel and ylable to ylabel. Then it will work.

presque 11 ans il y a | 1

| A accepté

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

presque 11 ans il y a | 1 réponse | 0

1

réponse

Réponse apportée
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 ...

presque 11 ans il y a | 0

Réponse apportée
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...

presque 11 ans il y a | 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...

presque 11 ans il y a | 3 réponses | 3

3

réponses

Réponse apportée
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)+(...

presque 11 ans il y a | 0

Réponse apportée
Speed up a program
Why didn't parfor and CUDA work? Do you meet the requirements?

presque 11 ans il y a | 0

Réponse apportée
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.

presque 11 ans il y a | 0

| A accepté

Réponse apportée
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...

presque 11 ans il y a | 0

Réponse apportée
integral of a numerical vectors
Use <http://www.mathworks.com/help/matlab/ref/trapz.html trapz> : trapz(Time,Volt);

presque 11 ans il y a | 0

Réponse apportée
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 ...

presque 11 ans il y a | 0

Réponse apportée
Script for solving Newton’s laws of motion & plotting an object's trajectory
As Star Strider said, create a function to pass those arguments.

presque 11 ans il y a | 0

Réponse apportée
How to continue from same line using toggle button gui
Create your loop variable i as a persistent type.

presque 11 ans il y a | 0

Réponse apportée
Script for solving Newton’s laws of motion & plotting an object's trajectory
Write it into the Editor: A = 10; v0 = 2; T = 5; t = 0:0.01:T; g = 9.81; x = cos(A*pi/180)*v0*t; y = sin(...

presque 11 ans il y a | 0

| A accepté

Réponse apportée
LaTeX interpreted to MatLab
If you want to include computations into LaTeX, try the <http://www.mathworks.com/help/matlab/matlab_prog/publishing-matlab-code...

presque 11 ans il y a | 0

| A accepté

Réponse apportée
How to use ode23s to solve heat equation
I would suggest an other way. A time-dependent differential equation can be solved not only by the method of lines, but also usi...

presque 11 ans il y a | 0

Réponse apportée
how do i use for loop to fine determinant of Vandermonde matrix?
If you want to calculate the determinant of an arbitrary matrix in a loop, you can also do it by using the Levi-Civita symbol.

presque 11 ans il y a | 0

Réponse apportée
How to create p chart and c chart in matlab?
You can find an example about control charts in the MATLAB documentation: <http://www.mathworks.com/help/stats/control-charts.ht...

presque 11 ans il y a | 0

Réponse apportée
Remove .iso after having installed Matlab?
First, make sure that MATLAB is working fine. Then you can delete the .iso. It was only needed for the installation.

presque 11 ans il y a | 0

| A accepté

Réponse apportée
How to create a 'rotating' gif or movie of a surface?
Yes, it is. The principle is that you create different views and then concatenate it to a movie. See <http://www.mathworks.com/m...

presque 11 ans il y a | 1

Réponse apportée
Shooting method for PDE
During a shooting method you guess initial values from where you start solving the boundary value problem (BVP) as an initial va...

presque 11 ans il y a | 1

Réponse apportée
How to put a hat on letters in a legend?
You should use the LaTeX interpreter: legend({'$\hat{p}^{CS}$'},'Interpreter','latex')

presque 11 ans il y a | 6

| A accepté

Réponse apportée
newton-jacobian method for non-linear circuit
If you think of the Newton-method using the Jacobian matrix, then there are lots of submissions on the internet. You can find ma...

presque 11 ans il y a | 0

Réponse apportée
solve() only gives one of infinitely many solutions.
Your mistake is that you applied == instead of =. Do this one: solution = solve('x*y=1','x','y');

presque 11 ans il y a | 0

Charger plus