Categories: Matlab

The difference between LaTeX vs MuPAD vs Matlab

The difference between LaTeX vs MuPAD vs Matlab

No, converting general LaTeX equations into some sort of procedural programming language is most decidedly not possible.

LaTeX is a system for creating documents with structured text formatting and typesetting. It is not much different than writing individual letters and symbols onto a piece of paper yourself; there are no intrinsic semantics as to which symbols mean what. It doesn’t know (or care) if the expression x = y is an assignment or a test for equality. Or if \cdot is a dot product or simple multiplication. All that really matters in the end is that the equations are readable and look good to a human eye. To convert this soup of symbols into a procedural programming language is quite impossible.

MuPAD, however, is a computer algebra system. You tell it what is a function and what are variables. It has this knowledge. As such, it is able to identify inputs and outputs and some sort of directional flow. It has a grammar to its equations: you must, for example, use := to denote assignment. When converting to an m-file, MuPAD uses this additional information to determine which variables are scalar or vector, what is an assignment and what is a boolean test, what is input and what is output, etc.

This difference is obvious in usage of MuPAD vs LaTeX: one can rearrange and simplify your equations for you, the other cannot.

 

 

NOTE I now post my TRADING ALERTS into my personal FACEBOOK ACCOUNT and TWITTER. Don't worry as I don't post stupid cat videos or what I eat!
caustic

Hi i there My name is Bryan Downing. I am part of a company called QuantLabs.Net This is specifically a company with a high profile blog about technology, trading, financial, investment, quant, etc. It posts things on how to do job interviews with large companies like Morgan Stanley, Bloomberg, Citibank, and IBM. It also posts different unique tips and tricks on Java, C++, or C programming. It posts about different techniques in learning about Matlab and building models or strategies. There is a lot here if you are into venturing into the financial world like quant or technical analysis. It also discusses the future generation of trading and programming Specialties: C++, Java, C#, Matlab, quant, models, strategies, technical analysis, linux, windows P.S. I have been known to be the worst typist. Do not be offended by it as I like to bang stuff out and put priorty of what I do over typing. Maybe one day I can get a full time copy editor to help out. Do note I prefer videos as they are much easier to produce so check out my many video at youtube.com/quantlabs

Share
Published by
caustic

Recent Posts

Unveiling the Power of KDB Plus: A Deep Dive with KX’s Michaela Woods

This article delves into the world and power of KDB Plus, a powerful database solution…

7 hours ago

Why KX kdb+ and Q Should Be Your Next Financial Power Tools

Analyzing this data efficiently is the key to making informed decisions, identifying trends, and staying…

1 day ago

My Journey with Algorithmic Trading in Rust

This article chronicles my experience, exploring the motivations behind this choice and the unique advantages …

2 days ago

Dive into kdb+ and q: A Guide to Learning Resources

But where do you begin your kdb+ and q journey? Don't worry, aspiring q programmers!…

5 days ago

High-Frequency Trading Meets High-Performance Computing: Building Your Dream Career

The world of high-frequency trading (HFT) thrives on speed and precision, and high-performance computing (HPC)…

6 days ago

Python Powers Algorithmic Trading: Mastering the Market with Code

This article explores the exciting opportunities for Python which powers algorithmic trading, equipping you with…

6 days ago