Community Profile

photo

Jonas Morgner


Last seen: 2 years ago Active since 2022

Followers: 0   Following: 0

Statistics

  • Thankful Level 3

View badges

Feeds

View by

Question


Solving a polynomial function using the solve function is not working
v1 = [1 -2 -5 6] I need to store the polynomial function in a new vector: x^3 -2x^2 - 5x + 6 = 0 Did I do it correctly? Seco...

2 years ago | 2 answers | 0

2

answers

Question


How can I zoom into my plot function to a -4 to 4 "interval".
v1 = [1 -2 -5 6]; v2 = [-100 : .1 : 100]; y = polyval (v1, v2); plot (v2, y) How can I zoom in the plot function from -4 t...

2 years ago | 1 answer | 0

1

answer

Question


How can I create a function which outputs two variables for calculating the eigenvalue * eigenvector
m1 = [7 3; 3 -1] % Matrix [Vectors, DiagonalWithValues] = eig(m1) ListEvalues = diag(DiagonalWithValues) How can I impl...

2 years ago | 1 answer | 0

1

answer

Question


How can I obtain the eigenvector from a matrix?
m1 = [7 3; 3 -1] How can I obtain the eigenvector from this matrix?

2 years ago | 2 answers | 0

2

answers

Question


How can I obtain a row with only zeros using the row reduction method?
m1 = [7 3; 3 -1] % Matrix I = eye(2) % Identity matrix Lamda = 8 % The value for λ % B LaI = I * Lamda % Identity matrix...

2 years ago | 1 answer | 0

1

answer

Question


How to present the determinant and eigenvalue using FprintF function
m1 = [7 3; 3 -1] % Matrix % B. syms L % Symbol representing λ % C I = eye(2) % Identity matrix % D LI = I * L % Mul...

2 years ago | 1 answer | 0

1

answer

Question


How can I choose certain parameters to choose different ways to calculate the determinant?
% A A = [3 34; 23 1] % Create matrix det(A) % Calculate determinant %B ad = 3*1 % Defining first diagonal AD cb = 23*34 %...

2 years ago | 1 answer | 0

1

answer

Question


How can I store the whole diagonal and not only the first element (For loop)
% Part 3.1: Diagonal %A rng('default') r2 = randi(100,3,3); % Creating a 3x3 matrix, with random values from 1 to 100 %B ...

2 years ago | 1 answer | 0

1

answer

Question


How can I infer the solutions of a specific polynomial?
% A v1 = [1 -2 -5 6] % Storing the values of the polynomial % B v2 = [-100 : .1 : 100] % Sequencing the numbers in .1 steps...

2 years ago | 1 answer | 0

1

answer

Question


How can I create a new matrix which stores the diagonals, but it first starts with a matrix full of zeros?
%A rng('default') r2 = randi(100,3,3); % Creating a 3x3 matrix, with random values from 1 to 100 %B d = diag(r2) % Obtain ...

2 years ago | 1 answer | 0

1

answer

Question


How can I store the values of a diagonal using only a for loop?
%A rng('default') r2 = randi(100,3,3); % Creating a 3x3 matrix, with random values from 1 to 100 %B d = diag(r2) % Obtain ...

2 years ago | 1 answer | 0

1

answer

Question


How to check if my array is square with if and else loops?
A = [1 -2 1; 0 2 -8; -4 5 9] How can I check if this array is a square array using an if-else loop?

2 years ago | 1 answer | 0

1

answer

Question


How to correctly present results of linear equation with f print f function?
% A syms x1 x2 x3 % Defining the vairables eqns = [x1 - 2*x2 + x3 == 0, % First equation 2*x2 - 8*x3 == 8, % Second equa...

2 years ago | 1 answer | 0

1

answer

Question


How to obtain the eigenvalues when I get the warning that the matrix is singular?
How can I obtain the row reduction method to get the values for Lamda? % A I = eye(2) m1 = [7 3; 3 -1] Lamda = 8 ...

2 years ago | 1 answer | 0

1

answer

Question


How do I correctly use the fprinf function with the forward/backward elimination
How can I present may solution matrix I just calculated using the fprinf function? My code so far: %A syms x1 x2 x3 % Definin...

2 years ago | 1 answer | 0

1

answer

Question


How can I find the determinant with these specific specific functions
I have been trying to solve this exercise for hours now and I dont know what to do Exercise: Create a function (m file) which ...

2 years ago | 0 answers | 0

0

answers

Question


Finding the eigenvalues with an augmented matrix 2x2
Hi, I somehow have a problem with obtaining the row reduction in an augumented matrix to find lamda. Currently I have this code:...

2 years ago | 1 answer | 0

1

answer

Question


How to do an elimination procedure to represent the solution (matrix)
Apply the elimination procedure until you reach a matrix that represents the solution (identity matrix + column with the values...

2 years ago | 1 answer | 0

1

answer

Question


How to plot two vectors at the same time
Use these variables to plot the graphical representation of the polynomial. To that end, you must use the function plot, using ...

2 years ago | 1 answer | 0

1

answer