Question

How to change the line width for fplot?

Hello All, I want to make lines in graph thicker. Here is my code, but it seems not working. clear all; close all clc; w1...

alrededor de 2 años ago | 2 answers | 2

Question

Two basic questions in matlab

Hello all, I used matlab for some time, but this did not made me thorough with basics. 1. If I have two matrices, I1 3x3 an...

alrededor de 6 años ago | 1 answer | 0

Question

Problems with matlab symbolic dsolve function

Hi I feel that something is going wrong with matlab dsolve function. Here is simple code: syms y x dsolve('9*D2y+y=x*...

más de 6 años ago | 2 answers | 0

Question

how to define a variable as a function of another variable in symbolic toolbox

Hi I am just wondering whether is it possible to do following: define a variable as a function of x u=f(x) Then, ...

más de 6 años ago | 1 answer | 0

Question

Errors in using string and vector together

Hi I want to display string and vector of floating point numbers together, but matlab flags error - 'dimensions of matrices are...

más de 6 años ago | 1 answer | 0

Question

Error in simple ode45 functions

Hello, I am trying to solve a non-stiff 2nd order ODE with ode45 function. My ODE is d^2y/dt^2 = -g + (4/15)*(1/m)*(dy/dt)^2 ...

más de 6 años ago | 1 answer | 0

Question

Best MATLAB-like C++ numerical libraries ?

Hi all, MATLAB makes linear algebra and matrix operations very easy and it is causing me pain to work in C++ ! I started with C...

más de 6 años ago | 2 answers | 0

Question

How to use multi-part function to find Fourier series coefficients with this program?

Hi I am writing a script to find Fourier series coefficients. Code is given below. In the code, I have function f=x*x defined o...

más de 6 años ago | 1 answer | 0

Question

How to solve this without goto statement?

Hi all, I think it is bad that matlab doesn't have a goto statement (many people will strongly disagree, but excuse me for the ...

más de 6 años ago | 3 answers | 0

Question

Matlab hyperbolic PDE equation errors

Hello people, I am trying to solve a hyperbolic PDE and as a kickstart, I am using a code from matlab documentation but chang...

más de 6 años ago | 1 answer | 0

Question

Matlab 2D hyperbolic partial differential equation change to 1D

I wish to change 2D hyperbolic PDE script to 1D PDE. I am a beginner in PDE to want to study the code and changes. Below is my c...

más de 6 años ago | 0 answers | 1

Question

How to get roots of determinant (characteristic) equation?

Hello all, I am solving an eigenvalue problem and giving symbolic matrix as input. I want to find roots of characteristic equat...

más de 6 años ago | 1 answer | 0

Question

Errors in passing a constant to a function in boundary value problem (bvp4c function)

Hello all, I am trying to solve a boundary value problem and I wish to pass value of variable E to odefunction() and bcf...

casi 7 años ago | 1 answer | 0

Question

Is it possible to solve this equation without symbolics?

Hi all, I am doing research involving numerical computations. Obviously symbolics are expensive to compute. So I am trying to c...

casi 7 años ago | 2 answers | 0

Question

How to pause execution of program until a keypress

Hi, I have two parts in my Matlab program and I want to pause first part until keypress event by user. I searched to pause func...

casi 7 años ago | 3 answers | 1

Question

How to solve this symbolic nonlinear equation

Hello all, I am getting stuck at solving a nonlinear symbolic equation. Here is code: syms F0; %temp1 is obtained by so...

casi 7 años ago | 1 answer | 0

Question

Efficient way to solve this (nonlinear) equation?

Hello all, I want to solve a nonlinear equation but don't know efficient way to do it in Matlab. Can anyone suggest a good way?...

casi 7 años ago | 1 answer | 0

Question

How to display a string and matrix in MATLAB?

Hi all, This question can look very basic to some experts of this forum, however the question bugs me as I am not an expert. ...

casi 7 años ago | 2 answers | 1

Question

Why to use vpa instead of double in dealing with symbolic variables?

Hello, I have a matrix in symbolic form and I want to convert it or display it as float. How to do this? Here is my simple cod...

casi 7 años ago | 1 answer | 0

Question

Which is book should I use for learning matlab?

Hi, I use matlab for scientific computing and I use symbolic toolbox as well. I read some matlab books such as Gilat's, but mos...

alrededor de 7 años ago | 4 answers | 0

Question

How to substitute multiple values in symbolic matrix?

Hi, How to substitute multiple values in symbolic matrix? With function subs, we can substitute only single value in expression...

alrededor de 7 años ago | 2 answers | 0

Question

double integral in MATLAB, limits as variable?

Hi, Is it possible to do a double integral in MATLAB numerically, where limits are functions of variables? Say my integra...

alrededor de 7 años ago | 1 answer | 0

Question

Question in plotting same value for a range of values

Hi all, I am trying very hard to plot same values for a number of values, but no success. I request to you to help me. Here is ...

alrededor de 7 años ago | 0 answers | 0

Question

Unable to run symbolic script, MATLAB is making fractions extremely large and unable to handle them

Hi all,

alrededor de 7 años ago | 1 answer | 0

Question

How to plot a fixed value for a range in MATLAB?

Hello, This appears a simple question but I am not able to solve it. I want to plot a certain value for a range of variables. O...

alrededor de 7 años ago | 2 answers | 0

Question

Symbolic variable array problem

Hi, I am trying to create an array in symbolic variable. However I am not successful in this task, something is going wrong. I...

alrededor de 7 años ago | 1 answer | 0

Question

How to convert symbolic calculation to numeric?

Hi, I want to convert symbolic calculations into numeric one and substitute in the MATLAB program. This is because symbolic com...

más de 7 años ago | 1 answer | 0

Question

Problem with symbolic math

Hello, I am trying hard to get code running, however I am stuck at a place. Please help me. I have declared 3 symbolic varia...

más de 7 años ago | 2 answers | 0