photo

Jonas Morgner


Last seen: oltre 2 anni fa Attivo dal 2022

Followers: 0   Following: 0

Statistica

  • Thankful Level 3

Visualizza badge

Feeds

Visto da

Domanda


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

oltre 2 anni fa | 2 risposte | 0

2

risposte

Domanda


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

oltre 2 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 2 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 2 anni fa | 2 risposte | 0

2

risposte

Domanda


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

oltre 2 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 2 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 2 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 2 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 2 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 2 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 2 anni fa | 1 risposta | 0

1

risposta

Domanda


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?

oltre 2 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 2 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 2 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 2 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 2 anni fa | 0 risposte | 0

0

risposte

Domanda


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

oltre 2 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 2 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 2 anni fa | 1 risposta | 0

1

risposta