Feeds
提问
Evaluating a value of a function and add to the previous value using for loop.
I have the following function; A=(1./pi).*sin(180).*gamma(2).*(((T+x).^-2)+(abs(T-x).^-2).*sign(T-x)); and want to evaluate ...
8 years 前 | 1 个回答 | 0
1
个回答提问
How to obtain a numeric value of an integral involving 3 variables and a bessel function?
Hello, I'm facing a problem in defining the following problem; e=0:0.01:1; a=17.6e-6; lambda = 1.0084; ...
8 years 前 | 1 个回答 | 0
1
个回答提问
How to evaluate integral on a particular point using trapz?
I extracted x and y data from a certain plot and now if there are 100 points in x and I want to evaluate an integral from x 0 to...
8 years 前 | 1 个回答 | 0
1
个回答提问
How can I solve a 4th Order ODE in a loop?
Below code solves 4th order ODE for a particular value of h. I'm intending to get results for h=0.1*l:0.1*l:l (likewise for each...
8 years 前 | 0 个回答 | 0
0
个回答提问
Difficulty in obtaining symbolically general solutions for Quartic equation.
The quartic equation is given as; (l^2)x^4+(2*y*l^2)x^3-(2*l^2*E^2+(y*l)^2+1)x^2-y*(1+2(l*E)^2)x+(l^2*E^4+E^2) here, l, E ...
8 years 前 | 0 个回答 | 0
0
个回答提问
Can anyone help me to get results from the program given below?
Below program is running well (for let say, Testsmooth(1,1,0,1)), but when I change the "F3(ss)" to "1/F3(ss)", it doesn't give...
8 years 前 | 0 个回答 | 0
0
个回答提问
I'm facing some problems in utilizing the plot result provided by the program (given below) for further calculations.
The plot provided by the program is required for the evaluation of the E(S) along with the variable used in the code. The code i...
8 years 前 | 1 个回答 | 0
1
个回答提问
Can anyone help me rectifying the error shown while executing this program?
I'm trying to run the program given as follows; I received the following error Attempted to access Kvals(:,2); index out of...
9 years 前 | 1 个回答 | 0
1
个回答提问
Hello, Could anyone help me in rectifying the error while solving the ODE using bvp4c?
function main global yright figure (1); hold on; yright=0.0; P=10e-9; E=102e9; h=200e-9; b=2*h; Es=...
10 years 前 | 1 个回答 | 0
1
个回答提问
I tried to solve fourth order differential equation using bvp4c.However, there seems to be an error while running it.Could you please let me know the potential mistake in the program?Thanks
The code is written as follows; function main figure (1); hold on; l=17.6e-6; P=1e-6; E=1.44e9; h=0.1*l; b...
10 years 前 | 2 个回答 | 0
2
个回答提问
I have written a code to plot two variables x and y (which are defined in the code),though there isn't any error in execution but there is nothing in the figure i.e.the plot is blank,Can anyone help me to find whats wrong here?
function energy figure (1); hold on; E=1.44e9; a=400e-6; h=20e-6; b=40e-6; l=17.6e-6...
10 years 前 | 0 个回答 | 0
0
个回答提问
I am trying to solve a second order ODE using Finite difference method.I have written a code as below but it shows error upon running.Can anyone help me find the potential error in my code.Thanks
function [x,U]=FD(a,b,ua,uxb,f,n) a=0;b=10;n=100; h=(b-a)/n; h1=h*h; A=sparse(n-1,n-1); F=zeros(n-1,1); for i=...
10 years 前 | 1 个回答 | 0
1
个回答提问
Hi all, I am trying to solve a fourth order differential equation using bvp4c.Below is my code.Can anyone help me to find the mistake in my code for which matlab is showing the following error?Thanks you
function sol = Fig1 solinit=bvpinit(linspace(0,30,50),@guess); sol=bvp4c(@cantileverode,@cantileverbc,solinit); xint=li...
10 years 前 | 2 个回答 | 0
