PJS KUMAR
Followers: 0 Following: 0
Feeds
질문
Example for diffusion equation used to reduce the noise in an image
In image processing, we know that the diffusion equation is used to reduce the noise in an image. Explain in detail with an exam...
거의 4년 전 | 답변 수: 0 | 0
0
답변답변 있음
selecting an element of a vector
How to select an element of a vector which is previous to the given value xp. Suppose we have a vector x=[1 1.05 1.1 1.1...
selecting an element of a vector
How to select an element of a vector which is previous to the given value xp. Suppose we have a vector x=[1 1.05 1.1 1.1...
대략 6년 전 | 0
질문
selecting an element of a vector
How to select an element of a vector which is nearest to the given value xp. Suppose we have a vector x=[1 1.05 1.1 1.15...
대략 6년 전 | 답변 수: 2 | 0
2
답변질문
gauss forward interpolation method
I wrote the following code for gauss interpolation function [ yval ] = gauss_p( xd,yd,xp ) n=length(xd); if(length(yd...
대략 6년 전 | 답변 수: 1 | 0
1
답변질문
Gauss forward interpolation formula
n = length(x) I created the difference table (tbl) using the following code. difference table is in attached file tbl...
대략 6년 전 | 답변 수: 0 | 0
0
답변질문
usage of cumprod function to write the code
To create a vector t, where t = [1 u/1! u(u-1)/2! u(u-1)(u-2)/3! ... (u(u-1)..(u-(n-2)))/(n-1)! I wrote the followi...
대략 6년 전 | 답변 수: 1 | 0
1
답변질문
difference between anonymous function and symbolic function
I declared a function in the following two ways. I want to know the difference between two function declarations 1) syms x ...
대략 6년 전 | 답변 수: 1 | 0
1
답변질문
Taylor Series expansion error
I have the following code for taylor series expansion. function [sol]=Taylor(fn,a,b,y0,h,nd) syms x y(x); ...
대략 6년 전 | 답변 수: 1 | 0
1
답변질문
Modified Euler's method expansion
suggest me to modify the following Euler's method expansion code so as to avoid the calculation of k2 two times function []...
대략 6년 전 | 답변 수: 0 | 0
0
답변답변 있음
taylor series method expansion
function D = dy(x,y) f = x^2+y^2; df = 2*x+2*y*f; d2f = 2+2*(f^2+y*df); d3f = 2*(2*f*df+f*df+y*d2f); ...
taylor series method expansion
function D = dy(x,y) f = x^2+y^2; df = 2*x+2*y*f; d2f = 2+2*(f^2+y*df); d3f = 2*(2*f*df+f*df+y*d2f); ...
대략 6년 전 | 0
| 수락됨
질문
taylor series method expansion
I wrote the following code function yb=taylor(f,a,b,ya,n) syms x y; h=(b-a)/n; y(1)=ya; y(2)=f; ht=h.^(0:5)....
대략 6년 전 | 답변 수: 2 | 0
2
답변질문
Euler method for ODE
I wrote the following code for Euler method function sol=Euler2(fn,a,b,y0,n) h=(b-a)/n; x=a:h:b; y(1)=y0; for k...
대략 6년 전 | 답변 수: 1 | 0
1
답변답변 있음
Taylor series method expansion
The above program is not working for the function f=x^2 + y^2 and giving error as >> f=@(x)x^2+y^2 f = function...
Taylor series method expansion
The above program is not working for the function f=x^2 + y^2 and giving error as >> f=@(x)x^2+y^2 f = function...
대략 6년 전 | 0
답변 있음
Taylor series method expansion
I wrote the following code for tayler series expansion function yb=taylor(f,a,b,ya,n) syms x y; h=(b-a)/n; y(1)=ya...
Taylor series method expansion
I wrote the following code for tayler series expansion function yb=taylor(f,a,b,ya,n) syms x y; h=(b-a)/n; y(1)=ya...
대략 6년 전 | 0
질문
taylor series expansion function call
I have the following code for taylor series method. function yval=taylor(f,x0,y0,xval) h=xval-x0; syms x y; y=zer...
대략 6년 전 | 답변 수: 0 | 0
0
답변질문
taylor series method expansion
I am using the following code for taylor series function [T,Y] = taylor(f,a,b,ya,m) h = (b - a)/m; T = zeros(1,m+1)...
대략 6년 전 | 답변 수: 1 | 0
1
답변질문
taylor series expansion process
help me in writing the code for the following series with the given input values, y',y0,a,b,n <</matlabcentral/answers/upload...
대략 6년 전 | 답변 수: 0 | 0
0
답변질문
differentiation for a function
y'=x-y^2 give me the function to get derivative as y'' =1-2*y*y'
대략 6년 전 | 답변 수: 2 | 0
2
답변질문
Taylor series method expansion
function sol=taylor1(fn,dfn,a,b,y0,n) h=(b-a)/n; x=a+(0:n)*h; y(1)=y0; for k=1:n y(k+1)=y(k)+h*feval(fn,x(k...
대략 6년 전 | 답변 수: 2 | 0
2
답변질문
How to write a simple MATLAB code for simplification of if.. else.. code
My program has a vector x=(x1,x2,...xn) and I want to compare xp with the values of the vector x. I wrote the following code i...
대략 6년 전 | 답변 수: 3 | 0
3
답변질문
Suppose I have a set of points xi = {x0,x1,x2,...xn} and corresponding function values fi = f(xi) = {f0,f1,f2,...,fn}, how to find derivative
Suppose I have a set of points xi = {x0,x1,x2,...xn} and corresponding function values fi = f(xi) = {f0,f1,f2,...,fn}, where f(x...
대략 6년 전 | 답변 수: 1 | 0
1
답변질문
How to create a vector with a sequence 1, u, u(u-1), u(u-1)(u-2)....
How to create a vector with a sequence 1, u, u(u-1), u(u-1)(u-2)....
대략 6년 전 | 답변 수: 2 | 0
2
답변질문
Help with numerical differentiation using difference tables
For the following data x=[1:0.2:2.2] y=[2.7183 3.3201 4.0552 4.9532 6.0496 7.3891 9.0250] help me to write MATLAB cod...
대략 6년 전 | 답변 수: 0 | 0
0
답변질문
matlab program for estimating the approximate derivative of f(x) at x=xi using difference tables
matlab program for estimating the approximate derivative of f(x) at x=xi using difference tables
대략 6년 전 | 답변 수: 0 | 0
0
답변질문
newton forward interpolation method by using less number of for loops
I wrote the following program for newton forward interpolation method. Can it be written with reduced code using single for loop...
대략 6년 전 | 답변 수: 1 | 0
1
답변질문
what is the MATLAB function to evaluate ncr value when n is real
what is the MATLAB function to evaluate ncr value when n is real
대략 6년 전 | 답변 수: 1 | 0
1
답변질문
Generating difference table for Newton interpolation method
I am using the following code to generate forward difference table. diff=yd'; for j=2:n for i=1:n-(j-1) diff(i...
6년 초과 전 | 답변 수: 0 | 0
0
답변질문
program for lagranges interpolation method using single for loop
how to program for lagranges interpolation method using single for loop
6년 초과 전 | 답변 수: 1 | 0
1
답변질문
bisection method error while checking loop with f(p)
function p = bisection(f,a,b) if f(a)*f(b)>0 disp('Wrong choice bro') else p = (a + b)/2; err = ab...
6년 초과 전 | 답변 수: 0 | 0