Community Profile

photo

Ali Kiral


Last seen: 10 Monate vor Aktiv seit 2020

Followers: 0   Following: 0

Statistiken

  • Thankful Level 3
  • Thankful Level 2

Abzeichen anzeigen

Feeds

Anzeigen nach

Frage


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

10 Monate vor | 3 Antworten | 0

3

Antworten

Frage


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

mehr als ein Jahr vor | 1 Antwort | 1

1

Antwort

Frage


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

mehr als ein Jahr vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als ein Jahr vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als ein Jahr vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als ein Jahr vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als ein Jahr vor | 0 Antworten | 0

0

Antworten

Frage


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

fast 3 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

fast 3 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


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

etwa 3 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 3 Jahre vor | 1 Antwort | 0

1

Antwort