Anyone can help with MATLAB software

  • Context: MATLAB 
  • Thread starter Thread starter Ashknany
  • Start date Start date
  • Tags Tags
    Matlab Software
Click For Summary
SUMMARY

The discussion centers around a MATLAB software question posed by a third-year student studying abroad in the UK. The student is struggling with a specific MATLAB function and seeks assistance from the community. The provided function, defined in a .m file as "function u = func1(t) u = exp(-t) .* cos(t)", serves as a starting point for solving the problem. The student is advised to consult the MATLAB manual for further guidance.

PREREQUISITES
  • Basic understanding of MATLAB programming
  • Familiarity with MATLAB function syntax
  • Knowledge of mathematical concepts such as exponential and trigonometric functions
  • Ability to navigate and utilize the MATLAB documentation
NEXT STEPS
  • Review MATLAB function creation and syntax
  • Explore MATLAB's built-in functions for mathematical operations
  • Learn how to read and interpret the MATLAB manual effectively
  • Practice writing and debugging MATLAB scripts
USEFUL FOR

Students learning MATLAB, educators teaching programming concepts, and anyone seeking to enhance their MATLAB skills for academic or professional purposes.

Ashknany
Messages
1
Reaction score
0
Hi there,
anyone can help me to solve MATLAB question ?
i'm continue my studying abroad in UK in the 3rd year
i've Analysis & methods this course and they gave us a question on MATLAB software and i know nothing about it or how to use it :/
and I'm really stick in this question and please anyone can help me with that i will really appreciate it :/

The question is: http://images.q8boy.com/uploads/e936059bf1.jpg
 
Physics news on Phys.org
You must read the Matlab manual in order to solve the question.

For the first function, the Matlab .m file should be:

function u = func1(t)
u = exp(-t) .* cos(t)

The rest is up to you
 

Similar threads

Replies
6
Views
4K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 12 ·
Replies
12
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
Replies
1
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 8 ·
Replies
8
Views
5K
  • · Replies 3 ·
Replies
3
Views
1K