photo

Ali Kiral


Last seen: 3 mesi fa Attivo dal 2020

Followers: 0   Following: 0

Statistica

  • Thankful Level 3
  • Thankful Level 2

Visualizza badge

Feeds

Visto da

Domanda


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

oltre un anno fa | 3 risposte | 0

3

risposte

Domanda


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

quasi 2 anni fa | 1 risposta | 1

1

risposta

Domanda


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

quasi 2 anni fa | 1 risposta | 0

1

risposta

Domanda


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

circa 2 anni fa | 1 risposta | 0

1

risposta

Domanda


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

circa 2 anni fa | 1 risposta | 0

1

risposta

Domanda


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

circa 2 anni fa | 1 risposta | 0

1

risposta

Domanda


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

circa 2 anni fa | 0 risposte | 0

0

risposte

Domanda


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

oltre 3 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 3 anni fa | 2 risposte | 0

2

risposte

Domanda


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

oltre 3 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 4 anni fa | 1 risposta | 0

1

risposta