# Implement these expressions in OCTAVE and plot on the same figure, the two functions: f=3t2 +2t-0.5 , g=2t cos(t) where the variable t varies from 0 to 10 with step 0.5.

조회 수: 6(최근 30일)
Jignasa 2022년 11월 6일
답변: Sam Chak 2022년 11월 6일
Implement these expressions in OCTAVE and plot on the same figure, the two functions: f=3t2 +2t-0.5 g=2t cos(t) where the variable t varies from 0 to 10 with step 0.5. • Draw the function f in blue 0 and the function g in red * • Give title to your graph as your registration number and your name and label the axes
##### 댓글 수: 1표시숨기기 없음
KALYAN ACHARJYA 2022년 11월 6일
편집: KALYAN ACHARJYA 2022년 11월 6일
Home Work Question: Skill up the MATLAB Fundamentals here

댓글을 달려면 로그인하십시오.

### 답변(1개)

Sam Chak 2022년 11월 6일
I typed exactly the same equations as you knowingly put on the description. But it gives error.
Please check if the equations are correct.
f = 3t2 + 2t - 0.5;
Invalid expression. Check for missing multiplication operator, missing or unbalanced delimiters, or other syntax error. To construct matrices, use brackets instead of parentheses.

Error in connector.internal.fevalMatlab

Error in connector.internal.fevalJSON
g = 2t cos(t);
plot(t, f, t, g)

댓글을 달려면 로그인하십시오.

### 범주

Find more on Octave in Help Center and File Exchange

### Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by