r/matlab • u/Potential-Ask3200 • 9h ago
r/matlab • u/Weed_O_Whirler • Feb 16 '16
Tips Submitting Homework questions? Read this
A lot of people ask for help with homework here. This is is fine and good. There are plenty of people here who are willing to help. That being said, a lot of people are asking questions poorly. First, I would like to direct you to the sidebar:
We are here to help, but won't do your homework
We mean it. We will push you in the right direction, help you find an error, etc- but we won't do it for you. Starting today, if you simply ask the homework question without offering any other context, your question will be removed.
You might be saying "I don't even know where to start!" and that's OK. You can still offer something. Maybe you have no clue how to start the program, but you can at least tell us the math you're trying to use. And you must ask a question other than "how to do it." Ask yourself "if I knew how to do 'what?' then I could do this." Then ask that 'what.'
As a follow up, if you post code (and this is very recommended), please do something to make it readable. Either do the code markup in Reddit (leading 4 spaces) or put it in pastebin and link us to there. If your code is completely unformatted, your post will be removed, with a message from a mod on why. Once you fix it, your post will be re-instated.
One final thing: if you are asking a homework question, it must be tagged as 'Homework Help' Granted, sometimes people mis-click or are confused. Mods will re-tag posts which are homework with the tag. However, if you are caught purposefully attempting to trick people with your tags (AKA- saying 'Code Share' or 'Technical Help') your post will be removed and after a warning, you will be banned.
As for the people offering help- if you see someone breaking these rules, the mods as two things from you.
Don't answer their question
Report it
Thank you
r/matlab • u/chartporn • May 07 '23
ModPost If you paste ChatGPT output into posts or comments, please say it's from ChatGPT.
Historically we find that posts requesting help tend to receive greater community support when the author has demonstrated some level of personal effort invested in solving the problem. This can be gleaned in a number of ways, including a review of the code you've included in the post. With the advent of ChatGPT this is more difficult because users can simply paste ChatGPT output that has failed them for whatever reason, into subreddit posts, looking for help debugging. If you do this please say so. If you really want to piss off community members, let them find out on their own they've been debugging ChatGPT output without knowing it. And then get banned.
edit: to clarify, it's ok to integrate ChatGPT stuff into posts and comments, just be transparent about it.
r/matlab • u/Barnowl93 • 1d ago
Fun/Funny MATLAB and Simulink made it into a K-Drama dialogue
My Korean colleague was watching the new K-Drama Between Steps (Episode 3) and did a double-take when the dialogue suddenly turned to MATLAB and Simulink. Thought you might also appreciate it.
You can watch it on Disney+ or Hulu in the US.
r/matlab • u/Cheimaa • 20h ago
Help 😓
Hello everyone, I hope you're all doing well... Well 😊... I'm using COMSOL 6.2, working on a simulation of a proton-exchange membrane water electrolysis system. The problem is, I'm not very experienced with COMSOL and I need to build the model myself from scratch. I haven't found a model in comsol's library 😠there is a model for a fuel cell, but that's not what I need. Every time I ask for help on Facebook, I get comments about paid services, and I don't even know if they're legitimate... Any advice?
r/matlab • u/Qing_sheng • 2d ago
Looking for Simulink Help
I’m looking for someone who has experience with MATLAB Simulink regarding propulsion system?
I already have an existing Simulink model, but I’m still learning how to understand, analyse, and work with it.
I’m hoping to find someone who can guide me through the model, and teach me how to make modifications of the parameters.
I’m happy to offer some compensation for your time and guidance.
Online tutoring is perfectly fine!
If you have experience in this area or know someone who does, please feel free to DM me.
Thank you so much!
r/matlab • u/Fearless-Plastic4968 • 2d ago
Matlab Student Account
Hey guys! I'm a recent BTech graduate and I wanted to learn MATLAB as a skill but my college didn't provide me with free access. I was hoping I could share the access with one of you if you have a college provided free access account. I could still use the 1 month trial version but this is just better and cleaner. Let me know if anyone is up to it!
Thanks in advance
r/matlab • u/SingleForever5655 • 3d ago
Final Project ideas for MATLAB
I'm a sophomore in college majoring in aerospace engineering. I have to do a final project for my matlab class. I thought about maybe making a simple rocket launch simulation, that calculates things like total flight time, apogee, motor impulse, landing speed, etc. I wasn't sure if that was a good idea or not. I really just want to play it safe, I don't care about being impressive.
Thanks for any replies.
r/matlab • u/mijailrodr • 3d ago
TechnicalQuestion How do you keep a database that can be accessed/edited by several functions?
I'm using matlab to study an exam for orbital mechanics (setting up Codes that calculate ground tracks predict new orbit after a maneuver, all that jazz)
I've thought of sitting down after the exam and turn them into one Big app that students can use to practice and the department may use for their lessons (i wanted to be able to set up exercises like a target orbit to reach or an object to rendevouz)
However, i'm not familiar with the appdesigner yet, and this i'm a bit confused.
For example, how is data stored inside functions? I wanted to make a script that would let you preview the maneuver effect, them hit "confirm" or "redo" and update current maneuver to the estimated maneuver, for example, and sum the extra deltaV and time of flight into a stored data. How do i keep databases that span múltiple functions? Thanks in advance
r/matlab • u/sparram03 • 6d ago
Tips [RESOURCE] Why does the Ensemble Kalman Filter work? A justification through non-linear filtering theory
r/matlab • u/Happy-Can-4695 • 6d ago
Boxes not appearing
Hello, I was wondering if anyone has the same problem or experienced something similar. Recently, the chack boxes and value fields stop showing. They build underneath, the mechanics still work, if I press where the check box use to the action runs, but the box itself doesn't build in the UI.
I am not sure if it is connected to or not but recently I updated to MACOS 27 and that produced seemingly unrelated bugs with other apps.

r/matlab • u/South-Amount-7314 • 7d ago
Tips Need some help on my graded project
Hi everyone,
I am an undergraduate student and recently we had a graded project course where we have to work on something that we are interested in. Me and my friend have the basics of matlab knowledge but idk what happened to us we chose to do behavioural modelling of ADPLL for BLE application using MATLAB and simulink.
I can describe my project like this
A MATLAB/Simulink-based behavioral analysis of a BLE ADPLL, with emphasis on transient response, frequency tracking, closed-loop behavior, and the effect of TDC quantization and DCO variations on locking performance.
But now we are stuck. I am really confused about what I am supposed to do and what i am doing. I am not able to understand most of the things and our guide is useless, she is not helping a bit. I know we rushed and stuff but we don't have any options left and we can't back out now.
I just want someone to guide me through the process and genuine opinions on the project and to answer my doubts. Please help me out if you can!
The deadline for this project is 26th so I am kind of in hell.
If anyone has any tips please drop them in the comments!
r/matlab • u/Moneef31 • 8d ago
Best way to model a compliant hinge in MATLAB?
I’m modeling a 3D compliant hinge mechanism in MATLAB with large rotations. I first used a rotational spring at a single node, but most of the deformation happened in the surrounding beam elements instead of the hinge.
What is the best way to model this type of compliant hinge in MATLAB? Any reference, example, or code would be very helpful.
r/matlab • u/paskalthemountain • 9d ago
Guide: How to install and run the Windows version of MATLAB on Linux
Hey everyone,
i put together a quick step-by-step GitHub repo on how to properly install and run the Windows version of MATLAB on Linux using Wine.
You can find the short guide here:
https://github.com/pasqualecofone/matlab-windows-version-on-linux-system/blob/main/README.md
Let me know if it works for you!
r/matlab • u/samueltauil • 9d ago
CodeShare What do you approve when the diff says binary file not shown?
After I posted the cardiac digital twin demo in July, someone asked me a question I could not answer with my own repo. If that dose change lived in a teams pull request, what would the reviewer actually look at?
For most Simulink teams the answer is a file name, a size, and Binary file not shown. My first attempt at fixing that was unzipping the .slx and diffing the XML. It produced a diff, and that was the problem. A text diff always looks complete, even when the tool understood half of what it read.
So I built a GitHub Action that says how much of the model it actually saw before saying anything else. Each extraction comes back complete, partial, unsupported, or failed, and only complete can ever mean no drift. A Copilot app canvas then walks the reviewer through trust, impact, evidence, and a merge assessment. It cannot approve anything.
The first time it reviewed my own cardiac model, it blocked it as partial. That was the right answer.
A review tool that cannot say I don't know will eventually approve a change it never saw. I wrote up the full version, workflow file included.
r/matlab • u/BlueHash4 • 10d ago
Optical System Design and Analysis in MATLAB R2026b R2026b
r/matlab • u/Winter-Arm6002 • 11d ago
I made a free browser viewer for .mat files
Used my free time made this web based Matlab data viewer, trying to collect some feedback, if you are interested to use, completely free, and local based, no data uploaded to cloud/server, no reg needed. Hope can help people try to open without Matlab in hand.
r/matlab • u/MikeCroucher • 13d ago
What's new in MATLAB 2026b?
The latest version of MATLAB, 2026b, was released last week and in my latest article I pick out 9 of my favorite enhancements out of the hundreds on offer. My list includes
- The MATLAB Package Manager
- An enhanced command window including Markdown Support
- A raft of performance enhancements
- A look at extensive new functionality relating to Design of Experiments (DOE)
- Plain-text file formats for live scripts and app-designer apps.
- GPU interoperability with CuPy, Tensorflow and PyTorch
- Google Sheet support
and more. I missed out all sorts of interesting things such as new algorithms for random number generation, sparse convolutions, improvements to ODE solvers including waypoint support, incremental machine learning...*hundreds* of updates.
Check out the release notes for full details but, for now, I hope you enjoy my tour over at The MATLAB Blog: https://blogs.mathworks.com/matlab/2026/10/01/a-look-at-some-of-whats-new-in-matlab-r2026b/
r/matlab • u/8bitjam • 12d ago
CodeShare controlsys v1.12.0: a control-systems toolbox for Go (MIT)
controlsys is a Go package for linear control systems. It works on continuous-time and discrete-time models. The main model form is state space.
Main capabilities:
- Models: state space, transfer function, zero-pole-gain (ZPK), frequency-response data (FRD), model arrays and tunable blocks.
- Analysis: Bode, Nyquist and Nichols plots, gain and phase margins, disk margins and step metrics.
- Design: LQR, LQG, Kalman filters, H2 and H-infinity synthesis, pole placement and PID tuning.
- Simulation: step, impulse, initial-condition and arbitrary-input responses.
- Model reduction: balanced truncation and modal truncation.
- Delays: input, output and internal delays, with Pade and Thiran approximations.
- Conversion: ZOH, FOH, Tustin, matched, impulse and least-squares methods between continuous and discrete time, in both directions and for resampling. We test the results against MATLAB behaviour.
New in v1.12.0:
- Tustin conversion with Thiran filters is approximately 30% faster than in v1.11.0.
- Tustin conversion with Thiran filters now supports MIMO models with delays on individual input-to-output paths.
ThiranDelaynow accepts short delays when the filter is stable.
Install:
go get plantcontrol.org/v1/controlsys
Repo: https://github.com/PlantControl/controlsys
Release notes: https://github.com/PlantControl/controlsys/releases/tag/v1.12.0
We want your feedback, especially from people who use MATLAB or python-control.
r/matlab • u/Creative_Sushi • 15d ago
Misc What is the right approach to teach engineering students about MATLAB in the era of AI? One prof made students to handwrite code so they can't use AI.
r/matlab • u/Impact-Commercial • 15d ago
Mathworks EDG Technical Phone Screen Advice
Hey yall, recently went to the career fair when I met the Mathworks representative. Applied online for the EDG role and a recruiter reached out for me to complete the coding challenge. I completed and now have a EDG Phone screen.
My worry is that I do not have much experience with software engineering / leetcode / data structures as I am an engineering major but have plenty of experience with Matlab/Simulink models. I did the 30 question matlab multiple choice section as well instead of the coding challenge. What can I expect for this technical phone screen and should I be working on coding challenges as I see online that sometimes they ask resume + live coding challenge?
Any advice is appreciated, Thanks!
Update: Phone screening went pretty well , the interviewer spent the first half of the time asking about my resume/projects and how I used Matlab/Simulink. The second half the of the interview was a small coding challenge on Matlab online which was based on looping through a vector and identifying whether a triplet was divisible by another variable. The interviewer then told me to test my solution with test cases and ask space/time complexity and ways to improve .

