![photo](/responsive_image/150/150/0/0/0/cache/matlabcentral/profiles/20745001_1609373603298_DEF.jpg)
Ali Kiral
Followers: 0 Following: 0
Feeds
提问
Euler's identity with angle in degrees
How can I get MATLAB to accept a in degress in exp(aj) to return a complex number where j^2=-1? By default the software takes a ...
1 year 前 | 3 个回答 | 0
3
个回答提问
Adaptive step size solver for an ODE
This question involves both mathematics and MATLAB. I am trying solve an ordinary differential equation numerically, dy/dt=10*ex...
1 year 前 | 1 个回答 | 1
1
个回答提问
integral command with function handle
Why do I get an error message with the following piece of script? Everything seems OK (I use R2014a by the way) func=@(x) exp(...
1 year 前 | 1 个回答 | 0
1
个回答提问
fprintf with complex numbers and ordinary arrays
%Enter coefficients in a descending order N=input('Enter the degree of the main polynomial '); for k=1:N+1 Pol1(k)=input(...
2 years 前 | 1 个回答 | 0
1
个回答提问
Printing cell array elements
Below script is an application of Newton's method to solve a set of nonlinear equations. Here we have 3 equations in 3 unknowns....
2 years 前 | 1 个回答 | 0
1
个回答提问
Referring to an element within a cell array element
x{1}=[1;2;3]; for i=1:4 x{i+1}=x{i}+5; end The above small script generates a 1x5 cell array. Every element of x is a 3x1 ar...
2 years 前 | 1 个回答 | 0
1
个回答提问
Using frprintf to display arrays having a string element
The script.. taylor(1)=-0.4;taylor(2)=-0.3786666667; epsilon=0.5*10^(-6); i=1; while abs ((taylor(i+1)-taylor(i))/taylor(i+1))...
2 years 前 | 0 个回答 | 0
0
个回答提问
Plotting a piecewise function
I have a function m-file, goes like this: function y=periodic(x); if x<=1 y=0; end if x > 1 & x < 2 y=x-1; en...
3 years 前 | 1 个回答 | 0
1
个回答提问
Creating a piecewise function
I am trying to make that triangular wave for one period with the code (I don't want to plot it, just to generate x and y values ...
3 years 前 | 2 个回答 | 0
2
个回答提问
Hilbert Matrix in least squares polynomial regression
When approximating the polynomial x^2+3x+2 with a least squares polynomial of degree two in [0 1], the coefficient matrix of the...
3 years 前 | 1 个回答 | 0
1
个回答提问
A complex number in the course of Müller's method
Consider the script below. I am trying to find the roots of by using Müller's method with initial estimations N=input('Enter t...
3 years 前 | 1 个回答 | 0