Community Profile

photo

Emily Gallagher


14 total contributions since 2019

Emily Gallagher's Badges

  • Thankful Level 1

View details...

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

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

etwa 2 Monate 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...

etwa 2 Monate 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...

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

2 Monate 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); ...

3 Monate ago | 1 answer | 0

1

answer

Question


How to compute the inverse of a matrix A without the built in Matlab function
How can I write a function that computes the inverse of a matrix A using the equation AX=I, where I is the identity matrix and X...

3 Monate ago | 2 answers | 0

2

answers

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

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

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

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

3 Monate ago | 0 answers | 0

0

answers

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

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

3 Monate ago | 1 answer | 0

1

answer

Question


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

3 Monate ago | 1 answer | 0

1

answer