Community Profile

photo

kevin


Active since 2014

Statistics

  • Thankful Level 1

View badges

Content Feed

View by

Question


How do I make the loop run more than once?
The for loop only displays one iteration of B and I need many iterations so I can estimate the eigenvalues. A=[8, -3, 0, 2...

7 years ago | 1 answer | 0

1

answer

Question


I'm trying to get the outputs for a QR factorization
The for loop only displays one iteration of B and i need many iterations. A=[8, -3, 0, 2; -9, 4, 5, -7; 6, -2, 2, 4; 5, -1,...

7 years ago | 1 answer | 0

1

answer

Question


Why does my function give weird outputs??
I am trying to create a code to calculate work. I have a vector for n and when I run the script I keep getting numbers that don'...

9 years ago | 1 answer | 0

1

answer

Question


This statement is not inside any function. (It follows the END that terminates the definition of the function "trap_wfp610".)
%% function [ w ] = trap_wfp610( n ) % Calculates the work done using numerical integration and the trapezoidal rule % Detail...

9 years ago | 1 answer | 0

1

answer

Question


Attempted to access f(0); index must be a positive integer or logical
function [ w ] = trap_wfp610( n ) % Calculates the work done using numerical integration and the trapezoidal rule % De...

9 years ago | 1 answer | 0

1

answer