Community Profile

photo

Omar B.


Last seen: Today Active since 2019

Statistics

  • Thankful Level 4

View badges

Content Feed

View by

Question


How to get color gradient for the basin of attraction?
I have applied Newton method to plot the basins of attraction. I also want to plot the color darkness depending on how long it ...

10 days ago | 0 answers | 0

0

answers

Question


How to plot the error of two numerical methods on the same graph?
I'm trying to plot the error of two methods, but I got the following error Index exceeds the number of array elements (3) Also...

2 months ago | 2 answers | 0

2

answers

Question


How to do a loop for different values?
I am trying to find basin of attraction of the roots, and I want to run the code for different values of q ( where q=0:0.2:...

5 months ago | 1 answer | 0

1

answer

Question


How to find Basins of attraction for the Halley method?
I am trying to implwment Halley's Mathod to find basin of attraction of the roots, but when I run the code I got a black image. ...

5 months ago | 1 answer | 0

1

answer

Question


How do I stop the code and get the results?
I am trying to run the Matlab code for Arnoldi method. The code dose not stop because the matrix is too large,. Is there a way t...

2 years ago | 1 answer | 0

1

answer

Question


How to check two conditions?
How can I check two conditions in if and elseif statment? When I run the following code, I got the last sentence " Your input is...

2 years ago | 1 answer | 0

1

answer

Question


adjust brightness of image
What is the difference between adjust the brightness of image by order of gamma and by alpha? Also, what is the difference betw...

2 years ago | 1 answer | 0

1

answer

Question


how to evaluate equation at different values?
I'd like to find and save x at different values of mu. Itried to write mu=linspace (2.4,4,1000) but I did not know how to compl...

2 years ago | 1 answer | 0

1

answer

Question


How to plot 2D Linear Inequality?
How to plot cond1 and cond2 with the cost in one figure? [x1,x2]=meshgrid(0:.1:10,0:.1:10); cond1=x1-x2<=-2; cond2=-0.3*x...

2 years ago | 1 answer | 0

1

answer

Question


how to write a Matlab code to sum 10 terms of rational numbers?
How to write a matlab code to find the sum of 10 terms of the follwing series: (39/2)-(36/5)+(31/10)-(24/17)+...

2 years ago | 2 answers | 0

2

answers

Question


How to collect the output in a matrix?
How can we create the block-tidaigonal matrix T using the output Omegas and Gammas as the picture I attached? n=100; k=2; ...

3 years ago | 1 answer | 0

1

answer

Question


How to code block lanczos algorithm?
Thanks ....

3 years ago | 1 answer | 0

1

answer

Question


How to solve two equations for four unknowns?
How to solve the follwoing system for x and y in Matlab? syms x y b r E1=x - y == x/(1+log(b*y+1)); E2=exp(r*(1-x))== 1+log(...

3 years ago | 1 answer | 0

1

answer

Question


Is there a way to find number of blocks in a matrix?
I have a matrix that has 5 blocks along the diagonal and two consecutive blocks overlap in one diagonal element. How can I comp...

3 years ago | 1 answer | 0

1

answer

Question


How can I simplify a symbolic expression?
I have computed orthonormal polynomials using Gram-Schmidt process. I got the following last polynomial, How do I simplify it...

3 years ago | 1 answer | 0

1

answer

Question


How to generate a normal matrix?
How to generate the following matrix in MATLAB? where is real number, and is odd number.

3 years ago | 2 answers | 0

2

answers

Question


How to generate a nearly symmetric matrix?
How to generate in Matlab a nearly symmetric Toeplitz matrix ?I just know how to construct symmetric or nonsymmetric, but I do ...

3 years ago | 1 answer | 0

1

answer

Question


How do we know the relation between times and the number of arithmetic floating point ?
I am trying to find out if solution of linear systems of equations with a triangular matrix by the backslash operation in Matlab...

3 years ago | 1 answer | 0

1

answer

Question


why does my code take so long to run?
I am trying to compute v' * f(A) * v, where f is a given function, A matrix, and v is a unite vector. My code takes along time ...

3 years ago | 1 answer | 0

1

answer

Question


How can we compute the derivative of polynomials?
How can we compute the derivative of the (m-1) polynomials at a point? I got the following error: The following error occurred...

3 years ago | 1 answer | 0

1

answer

Question


How to created a specific symmetric Toeplitz matrix?
Hi , Could you please help to simplify the following code. I created a symmetric Toeplitz matrix where its eigenvalues [ 0.28878...

3 years ago | 0 answers | 0

0

answers

Question


How can I measure time on MATLAB?
Hi, I am trying to measure the running time of solving system of linear equations using tic , toc. I have to compute the system ...

3 years ago | 1 answer | 0

1

answer

Question


How to compute arccos for a matrix?
I would like to compute the arccos for a matrix. I know when I want to find log(), exp(), and sqrt () for a matrix , we use logm...

4 years ago | 1 answer | 0

1

answer

Question


How to calculate expm of a matrix?
Hi all, I am trying to run the following but I got an erorr Error in expm if ~all(isfinite(A),'all') How can I fix that err...

4 years ago | 2 answers | 0

2

answers

Question


How to delete the last rows and columns?
How to delete the last three rows and three columns from the following matrix without change N and then multiply the last off di...

4 years ago | 0 answers | 0

0

answers

Question


How to create a Toeplitz matrix?
How to create a symmetric positive definite Toeplitz matrix with entries ?

4 years ago | 1 answer | 0

1

answer

Answered
What type of function Matlab has help to construct symmetric matrix?
Thank you so much . I really appreciate your help.

4 years ago | 0

Question


What type of function Matlab has help to construct symmetric matrix?
What type of built-in functions (such as function Toeplitz) that come with Matlab help us to construct a symmetric matrix (not ...

4 years ago | 4 answers | 0

4

answers

Question


Evaluating Function at Matrix ?
How can we evaluate the following function at matrix A?

4 years ago | 1 answer | 0

1

answer

Question


how to create a symmetric Toeplitz matrix with bounds on eigenvalues?
Is there a way to creat a symmetic Toeplitz matrix of size 400 X 400 with real entries and its largest eigenvalue is 5 and the s...

4 years ago | 2 answers | 0

2

answers

Load more