Question


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

9 years ago | 0 answers | 0

0

answers

Question


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

9 years ago | 1 answer | 0

1

answer

Question


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

9 years ago | 2 answers | 1

2

answers

Question


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

9 years ago | 1 answer | 0

1

answer

Question


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

9 years ago | 0 answers | 0

0

answers

Question


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

9 years ago | 1 answer | 1

1

answer

Question


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

9 years ago | 2 answers | 0

2

answers

Question


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

9 years ago | 2 answers | 0

2

answers

Question


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

9 years ago | 2 answers | 0

2

answers

Question


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

9 years ago | 2 answers | 1

2

answers

Question


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

9 years ago | 1 answer | 0

1

answer

Question


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

9 years ago | 1 answer | 1

1

answer

Question


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

9 years ago | 1 answer | 0

1

answer

Question


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

9 years ago | 1 answer | 0

1

answer

Question


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

9 years ago | 1 answer | 0

1

answer

Question


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

10 years ago | 2 answers | 0

2

answers

Question


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

10 years ago | 0 answers | 0

0

answers

Question


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

10 years ago | 0 answers | 0

0

answers

Question


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

10 years ago | 0 answers | 0

0

answers

Question


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

10 years ago | 1 answer | 0

1

answer

Question


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

10 years ago | 0 answers | 0

0

answers

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

10 years ago | 0

Question


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

10 years ago | 2 answers | 0

2

answers

Question


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

11 years ago | 1 answer | 0

1

answer

Question


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

11 years ago | 1 answer | 0

1

answer

Question


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

11 years ago | 0 answers | 0

0

answers