Jiawei Gong
Penn State Behrend
Followers: 0 Following: 0
Assistant Professor of Mechanical Engineering
Feeds
提问
syms x - Not enough input arguments.
>> syms x Not enough input arguments. Error in digits (line 3) for i=1:length(s) Error in sym (line 192) S.Digits =...
4 years 前 | 1 个回答 | 0
1
个回答已回答
Editing a function to return a value that shows how many times a recursive function is called
function [f,count] = MyFib(n) count = 1; if n==1 || n==2 f = 1; else [f1,count1] = MyFib(n-1); [f2,count2] = M...
Editing a function to return a value that shows how many times a recursive function is called
function [f,count] = MyFib(n) count = 1; if n==1 || n==2 f = 1; else [f1,count1] = MyFib(n-1); [f2,count2] = M...
4 years 前 | 2
提问
Error: Live Editor Run Section
My scirpt has multiple sections. I intentially leave a few lines incomplete for demo purpose. When I run Section One, the erro...
5 years 前 | 2 个回答 | 2
2
个回答提问
calling gradient multiple times
MATLAB suggests not to call gradient multiple times, but I did it for sin function. As shown in the figure, the first order der...
5 years 前 | 1 个回答 | 0