Frage


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

mehr als 9 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


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

mehr als 9 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 9 Jahre vor | 2 Antworten | 1

2

Antworten

Frage


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

mehr als 9 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 9 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


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

mehr als 9 Jahre vor | 1 Antwort | 1

1

Antwort

Frage


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)','...

mehr als 9 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


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

mehr als 9 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


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

mehr als 9 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


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

mehr als 9 Jahre vor | 2 Antworten | 1

2

Antworten

Frage


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

mehr als 9 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 9 Jahre vor | 1 Antwort | 1

1

Antwort

Frage


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

mehr als 9 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 9 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 9 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

fast 10 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


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

fast 10 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


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

etwa 10 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


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

etwa 10 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


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

etwa 10 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

etwa 10 Jahre vor | 0 Antworten | 0

0

Antworten

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

etwa 10 Jahre vor | 0

Frage


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

etwa 10 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


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

fast 11 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

fast 11 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

fast 11 Jahre vor | 0 Antworten | 0

0

Antworten