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 =...
3년 초과 전 | 답변 수: 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년 초과 전 | 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...
4년 초과 전 | 답변 수: 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...
4년 초과 전 | 답변 수: 1 | 0