Math Problem Statement
function S = skaic(x,y,c,d,z) c=sqrt(x.^2+1); d=sqrt(y.^2+1); if(c>d) a=x; else if (c<=d) a=y; if(c<=d) b=c else if (c>d) b=d; z=a+b-c-d; end; how to fix this matlab function?
Solution
Ask a new question for Free
By Image
Drop file here or Click Here to upload
Math Problem Analysis
Mathematical Concepts
Algebra
Square Roots
Conditional Statements
Formulas
c = sqrt(x.^2 + 1)
d = sqrt(y.^2 + 1)
z = a + b - c - d
Theorems
-
Suitable Grade Level
Undergraduate (Engineering/Mathematics)