Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lesson Contribution - Matrix Math #231

Open
Talishask opened this issue Mar 22, 2021 · 0 comments
Open

Lesson Contribution - Matrix Math #231

Talishask opened this issue Mar 22, 2021 · 0 comments

Comments

@Talishask
Copy link

I'm a member of The Carpentries staff and I'm submitting this issue on behalf of another member of the community. In most cases, I won't be able to follow up or provide more details other than what I'm providing below.


I have been reading the course material for Matlab Programming and I find out matrix mathematics is missing in this teaching which is one of the great benefits of using Matlab. It can even be used instead of "for loop" which increase the speed of programming. A section can be added that showed the difference between cross () and dot-cross (.) in addition to compare running time with tic-toc function when "for loop" and cross are used.
An example of this needs a question and data set to describe.

Also, matrix mathematics can be used to solve two equation-two variables quickly.
Example:
2x+3y=5
-2x+4y=10
matlab solution:
A= [2 3; -2 4]
B= [5; 10]
[x; y] = A\B

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant