Community Profile

photo

Emily Gallagher


Active since 2019

Statistics

  • Thankful Level 1

View badges

Content Feed

View by

Question


Ralston's method function
I am trying to write a function for Ralston's method, a second order Runge Kutta method. My function does not appear to be graph...

meer dan 4 jaar ago | 1 answer | 0

1

answer

Question


How to write your own function for infinity-norm of a matrix
How do I write a function for infinity-norm of some matrix without using the built-in Matlab function? I do not know how to comp...

meer dan 4 jaar ago | 1 answer | 0

1

answer

Question


Writing my own function to find one-norm
I am trying to write a function called normone that accepts a rectangular matric as a parameter and calculates the one-norm. I k...

meer dan 4 jaar ago | 1 answer | 0

1

answer

Question


Computing determinant of matrix A using LU factorization
I must compute the determinant of an nxn matrix A using LU factorization. I have already calculated L and U in a different 'lufa...

meer dan 4 jaar ago | 1 answer | 0

1

answer

Question


'Array indices must be positive integers or logical values' error
I keep getting the 'Array indices must be positive integers or logical values' error specifically n=f(i). f = (2000:100:3000...

meer dan 4 jaar ago | 1 answer | 0

1

answer

Question


Trying to write a function for the inverse of a matrix.
Trying to solve for the inverse of matrix A. Any help would be greatly appreciated. function X = inverse(A) n = length(A); ...

meer dan 4 jaar ago | 1 answer | 0

1

answer

Question


I am trying to solve the inverse of a matrix A, using the equation AX=I and LU factorization. My lufact function worked originally, but when using to compute the inverse, A and X both end up as identity matrices.
I am trying to solve the inverse of a matrix A, using the equation AX=I and LU factorization. My lufact function worked original...

meer dan 4 jaar ago | 0 answers | 0

0

answers

Question


Why do I keep getting an undefined function for 'deter'?
Trying to find the determinant of an upper triangular matrix without using the built-in det function. Why do I keep getting an u...

meer dan 4 jaar ago | 1 answer | 0

1

answer

Question


Given an nxn matrix A, how do I produce a lower triangular matrix with ones on the diagonal?
Given an nxn matrix A, how do I produce a lower triangular matrix with ones on the diagonal? I tried A = rand(n,n); L = tril...

meer dan 4 jaar ago | 1 answer | 0

1

answer

Question


How to use the lufact function to compute the determinant of some matrix A without using the built-in determinant function. Any help would be greatly appreciated.
How to use the lufact function to compute the determinant of some matrix A without using the built-in determinant function. Any ...

meer dan 4 jaar ago | 1 answer | 0

1

answer

Question


I am trying to solve for an integral using the relation y(n)=ny(n-1)-(1/e) and that y(1)=1-(2/e). Below is my function but I am not sure what to do about the 'y(n-1)' part.
I am trying to solve for an integral using the relation y(n)=ny(n-1)-(1/e) and that y(1)=1-(2/e). Below is my function but I am ...

meer dan 4 jaar ago | 1 answer | 0

1

answer

Question


Subplots with multiple axes
I am trying to plot a figure with four subplots. This is what I am entering but it is only producing one graph. Any advice? n...

meer dan 4 jaar ago | 1 answer | 0

1

answer

Question


how to write the mean equation
How do I manually enter the mean equation?

meer dan 4 jaar ago | 1 answer | 0

1

answer