Community Profile

photo

Kevin Zhou


Last seen: más de 2 años hace Con actividad desde 2020

Estadísticas

  • Thankful Level 3

Ver insignias

Content Feed

Ver por

Pregunta


Dimensional Problem with simple coefficient equation
I am trying to create this function in MATLAB. From a previous question, I have solved for a as "agrid2" and f(a) as "fx", w...

más de 3 años hace | 1 respuesta | 0

1

respuesta

Pregunta


"Array indices must be positive integers or logical values." while using golden section search with an interpolation?
The function starts going wrong as I hit line 50, the one that starts with w(i,j). What am i doing wrong? A seperate function is...

más de 3 años hace | 1 respuesta | 0

1

respuesta

Pregunta


"Error using / Matrix dimensions must agree." When creating a system of functions
This is the function that I aim to generate: This is what I plugged in: %input all the varaible alpha= 0.33; beta= 0.9...

más de 3 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Issues with loop- "Too many input arguments."
Here is my issue- I am on the cusp of solving my problem by using the quadrature technique. However, I seem to be doing somethin...

más de 3 años hace | 1 respuesta | 0

1

respuesta

Pregunta


"Array indices must be positive integers or logical values". Please help
%For this problem write a script file called NC.m that implements %the Newton-Cotes method of integration for an arbitrar...

más de 3 años hace | 1 respuesta | 0

1

respuesta

Pregunta


"Z must be a matrix, not a scalar or vector." PLEASE HELP!
So this is the function I want graph using surf.m: %simple multivariate function; function [f]=ps2func(x1,x2) if ((x1<=2) &&...

más de 3 años hace | 2 respuestas | 0

2

respuestas

Pregunta


Trying to get taylor's series to work the old fashion way for x^2." Array indices must be positive integers or logical values"?
%problem 1_a clear all %decrement value loop %h = x-x0 h=-0.8:0.01:1; tic %start a timer for the i loop below for i=0.0...

más de 3 años hace | 1 respuesta | 0

1

respuesta