Domanda


it is not plotting
Hi, I try this; beta1 = 0.4*pi; alphabar = 1; dx=0.01; for i=1:101 xx(i) = (i-1)*dx end dt=0.00...

quasi 9 anni fa | 0 risposte | 0

0

risposte

Domanda


Which method is used by diff ---Matlab differentiation
Hi, * I need to take a derivative for dp/dx* My p array is 1*101 element denoted : dt=0.0001; dx=0.01; for num...

quasi 9 anni fa | 1 risposta | 0

1

risposta

Domanda


Taking derivative an array which is a numerical value with respect to another array
Hello, I need to take a derive of an array (1*101) (which is numerical not analytical) with respect to another array (1...

quasi 9 anni fa | 2 risposte | 1

2

risposte

Domanda


Is there a clever way to extract piece of x axis of the plot from a script and put it to another plot in another script
Hi I want to compare two solution's plots. Each are calcuated separate scripts. Can I extract a piece of x axis of one so...

quasi 9 anni fa | 1 risposta | 0

1

risposta

Domanda


why results from trapz cumtrapz and integral are so different
Hi, I need to integrate numerically 21 functions, some of them are int_0^x (...) % integrate from zero to x some...

circa 9 anni fa | 0 risposte | 0

0

risposte

Domanda


A and B must be floating-point scalars.
Hi, Simple que: I have used below and it gave me the error in the question title. xx=linspace(0,1,101); Ah4 = one...

circa 9 anni fa | 1 risposta | 1

1

risposta

Domanda


Error using title of plot
Hi, I want to use plot with title command. But when I try title of : title(['Plots of ... with beta1=',num2str(beta1)','...

circa 9 anni fa | 2 risposte | 0

2

risposte

Domanda


how to create 1*101 of some integer array?
Hi, Very basic que: I would like to have 1*101 of -4 array. I have to solve an integral numerically int_0^x -4 dx; ...

circa 9 anni fa | 2 risposte | 0

2

risposte

Domanda


numerical integration __ integral limits being variables
Hello, I want to numerically integrate functions whose upper limits x, lower limits 0. Say; int_0^x f(x) dx Which metho...

circa 9 anni fa | 2 risposte | 0

2

risposte

Domanda


Could fsolve cause trouble when using it to solve linear equations?
Hello, I have used fsolve optimisation algorithm to solve linear integral equations using integral command. But I know fsol...

circa 9 anni fa | 2 risposte | 1

2

risposte

Domanda


solving integral equation system for 3 unknowns
Hi guys, I need to solve integral equations : The equations are kutta, lateral, angular. Unknons are h4, theta4, c13. I use...

circa 9 anni fa | 1 risposta | 0

1

risposta

Domanda


Undefined function 'abs' for input arguments of type 'function_handle'
Hi guys! I am getting this error when I try : warning ('off','all'); beta1=0.2; alphabar=-0.1; theta4range=-1:0.1:...

circa 9 anni fa | 1 risposta | 1

1

risposta

Domanda


shouldPlot and switch case and legend and multiple figure error
Two questions about shouldPlot and switchcase: 1) I cannot locate correctly legends I mean it does not show legends for fig...

circa 9 anni fa | 1 risposta | 0

1

risposta

Domanda


How to stop the program and store the scalar variable and rerun the program and plot scalar against scalar
Hi, I want to plot scalar value (t) against scalar (alpha). But it does not plot. Simplified code is below: da = 0.1 ...

circa 9 anni fa | 1 risposta | 0

1

risposta

Domanda


plotting with changing variable values with switch case command
My whole program run with a loop . It is not showing the plot when I try below: for nt =1:30001 ... switc...

circa 9 anni fa | 1 risposta | 0

1

risposta

Domanda


solve multiple algebric integral equations
Hi I have three equations and three unknowns I need to solve these. Two of the equations are integral equations Could ...

circa 9 anni fa | 2 risposte | 0

2

risposte

Domanda


ode15s array valued function and second order ode
Hi , I have second order ode f_xx = p(x) and Boundary conditions f(0), f(1) = 0 p(x) is an array valued function o...

oltre 9 anni fa | 0 risposte | 0

0

risposte

Domanda


shooting method for two functions ODE
Dear Matlab users, I have to solve this problem f_xx = p(x) with shooting method. Boundary conditions are f...

oltre 9 anni fa | 0 risposte | 0

0

risposte

Domanda


function uses another function and that is used by the first function like a cycle
Hi everyone, I have three functions which using each other in a while loop and for loop. like : # f uses p functio...

oltre 9 anni fa | 0 risposte | 0

0

risposte

Domanda


Shooting method for ODE interpolation error
Hi, I am using shooting method to solve second order ODE. The related part of main code is attached: function [f] = const...

oltre 9 anni fa | 1 risposta | 0

1

risposta

Domanda


MATLAB R2014b does NOT work when using Mac OS X 10.9.5
Hi This will be a general question but I am really getting tired of this not running problem.. Could you please help me w...

oltre 9 anni fa | 0 risposte | 0

0

risposte

Risposto
Is there any way how to integrate a double variable
Many thanks Titus I will definitely use.

oltre 9 anni fa | 0

Domanda


Is there any way how to integrate a double variable
Hi, I have a script for calculating lots of variables with changing time and x_lateral position. I want to integrate one of...

oltre 9 anni fa | 2 risposte | 0

2

risposte

Domanda


How to express a function both time and spatial dimension dependent?
Hi there, It seems an easy one but I guess it is not that easy. I have a fluid flowing through a vessel. I want to measure it...

circa 10 anni fa | 1 risposta | 0

1

risposta

Domanda


Function uses another function in a script
Hi guys, Could someone highlight me? I am trying to write a script it uses more than one function. The second function uses t...

oltre 10 anni fa | 1 risposta | 0

1

risposta

Domanda


how to change a value inside many cell arrays
Hi I would like to change c1 value in velocity u1,u2 pressure p1,p2 and sumint1,2. I need to iterate Newton-Raphson in MAT...

oltre 10 anni fa | 0 risposte | 0

0

risposte