Kevin Zhou
Followers: 0 Following: 0
Feeds
提问
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...
4 years 前 | 1 个回答 | 0
1
个回答提问
"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...
4 years 前 | 1 个回答 | 0
1
个回答提问
"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...
4 years 前 | 1 个回答 | 0
1
个回答提问
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...
4 years 前 | 1 个回答 | 0
1
个回答提问
"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...
4 years 前 | 1 个回答 | 0
1
个回答提问
"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) &&...
4 years 前 | 2 个回答 | 0
2
个回答提问
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...
4 years 前 | 1 个回答 | 0