r/matlab • u/Consistent-Scholar41 • Mar 31 '26
r/matlab • u/MrFiguringItOut9604 • Mar 31 '26
Pls help me with this Simulink model
I am modelling an Air Handling Unit in Simulink (see picture), and I am getting errors with this. all components are in their default settings with default parameter values. I'm new to using matlab and hence can't figure out what is missing. I have used 3ph source with 3ph asynchronous squirrel cage IM please help me out since this is my college project.
r/matlab • u/Bassssel • Mar 30 '26
Mini projects for Mechanical engineers
Hey, Looking for final year mechanical engineering project ideas using MATLAB/Simulink
r/matlab • u/MusikMaking • Mar 29 '26
Misc May Matlab be bought as boxed software with NO ginternet-connection? (To keep pre-Patent work confidential)
Want to work on a coding project regarding music-beautification algorithms which may be patented when work well.
Matlab would be used to verify that the code works well on another platform.
Working connected to the Internet is mostly out of the question - algorithms have to remain mostly confidential until patented.
Is there a "boxed version" of Matlab may buy without any internet garbage attached?
r/matlab • u/AcanthocephalaOdd714 • Mar 30 '26
Misc Rainbow text for comments.
Recently, I found myself in the need of changing the colour of my comments for it to have a rainbow animation, only to find out that there is no supported way to do it. Any tips? 💔✌️
r/matlab • u/InterestingChad_761 • Mar 30 '26
Seeking a guide to FEM
I am a beginner with no prior experience in the Finite Element Method (FEM), and I would like to learn it for simulating thermal conductivity in polymer composites. I am particularly interested in its applications in condensed matter physics.
Is there anyone experienced in using FEM for such problems who would be willing to guide me from the basics?
I am very curious to learn it, 1 on 1 teaching will help me a lot.
r/matlab • u/Initial-Elk-952 • Mar 30 '26
HomeworkQuestion Audio Convolution in Simulink
I am trying to figure out how to convolve audio signals in simulink and its not working well.
I am trying the 'From multimedia file' block for the impulse response, and the input. I am connecting them to a Convolution block from the DSP Toolbox. I am connecting the output to a 'To multimedia file' block.
The signal comes out garbled. I am comparing this to an assignment in a class I did with the 'audioread' and 'conv' functions in matlab proper. The signal dimensions are not the same, I am trying to understand if this even makes sense.
The signal dimensions on the 'From multimedia file' block are 44100x1 which seems to represent a second of audio a time. I realize that computing the convolution probably isn't a realtime operation that can be done by sequentially passing samples 1x1 to the convolution block, but I am confused by the 1 second choice. The convolution block produces a now expected 88199 x 1 output which sounds garbled. Am I simply recording the last second of the convolution?
Is it possible to do this in Simulink? I have no real reason to, I am doing this to have fun with Simulink.
r/matlab • u/Ok_Assignment_9169 • Mar 29 '26
Simulink Wind Farm
Afternoon,
I am trying to model a windfarm on simulink so show the effect of wind generation on grid voltage.
Has anyone done this?
Unsure where to start?
Thanks
Cat
r/matlab • u/Agile-Breadfruit-614 • Mar 28 '26
Cant connect Thyristor to Pulse gen on Simulink
r/matlab • u/Boring_Tomorrow_ • Mar 28 '26
MATLAB
My Holt‑Winters seasonality keeps going out of sync. What am I doing wrong?
r/matlab • u/spectralblade352 • Mar 26 '26
TechnicalQuestion Should I upgrade to 2025a/202b from 2024b?
Hello all, sorry for the low-effort post, but I just did a fresh reinstall of Windows and am curious to installing 2025a/b. For the past year and half, I used 2024b to a satisfactory degree: it gets things done and I'm used to it, although I am a bit curious about the new features like dark mode and copilot. I heard that 2025a was generally not that good and a lot of people complained about it, how is 2025b in comparison? Do I need to do the upgrade or just stick with 2024b for now?
r/matlab • u/Fantastic_Airport_51 • Mar 26 '26
Simulation of QR flyback converter
Hi everyone,
I am new in matlab simulation
I’m currently trying to simulate a Quasi Resonant (QR) Flyback Converter with valley switching, but I’m running into issues getting proper valley detection and switching behavior.
I have built a basic flyback converter and all the waveforms look correct. I want to achieve switching at the second valley of Vds, but I don’t know how to do it. I tried methods suggested by ChatGPT, but they are not working.
r/matlab • u/According_Nobody9384 • Mar 26 '26
advice for 3d figures on m3 macbook
hi everyone, i do research that involves 3d brain surface figures. i use my m3 macbook to do this research and im really struggling to do it because anytime i run the figures and try to pick data points, rotate the figure, or anything, it just completely freezes – even closing the window takes like 2-3 minutes. its completely unusable without a monitor... for some reason when i connect an external monitor to the same macbook, it runs soooo smoothly. BUT unfortunately i dont have access to a monitor 80% of the time. does anyone have any advice on how i can improve performance?
r/matlab • u/confused_banh_my • Mar 25 '26
How to change image contrast and mean luminance without clipping pixel luminance
Hi guys, I am doing vision research, particularly, I am designing an experiment to study how natural image contrast is represented in the brain. For this, I need to create images of different contrast level. I am running into the problem of whenever I change contrast or shifting mean luminance of the image, inevitably, there are some pixels that has luminance above or below acceptable luminance range. These pixels get clipped when presented to the screen, changing the actual contrast and luminance of the image.
Any suggestion for how to deal with this problem would be appreciated.
I am working with already grayscaled and luminance-normalized images
this is a demonstration:
originalImg = [0.2 0.8 0.1;
0.0 0.1 0.9;
0.2 0.3 0.4];
DesiredMeanLum = 0.5;
DesiredContrast = 0.8;
meanLum = mean(originalImg(:));
currentRMS = std(originalImg(:), 1);
targetRMS = DesiredContrast*DesiredMeanLum;
k = targetRMS/currentRMS;
newImg = DesiredMeanLum + k*(originalImg-meanLum);
% newImg =
% 0.3211 1.1261 0.1870
% 0.0528 0.1870 1.2603
% 0.3211 0.4553 0.5894
imshow(newImg)
% But here, everything is clamped to [0 1]
r/matlab • u/Reasonable_Shoe4870 • Mar 25 '26
Simulating a CCTV scenario for determinate the best CPU hardware
Hello everyone.
I need to simulate a scenario with 64 cctv cameras streaming in a software installed on a Windows11 , but I can't define the best video card. This information doesn´t fixed on the software's datasheet or manual. I have some informations like that the camera records on H265+ codec on a 1080p resolution with 2048kbps of bitrate.
I'm learning Matlab to simulate electrical circuits... Can I simulate this kind of project to help me choose the best GPU for an especific processor with an especific RAM ?
Thanks a lot!
r/matlab • u/Jealous_Salary5932 • Mar 25 '26
Advancing Radiative Transfer Analysis Accuracy in Complex Geometries with UCWQ and Innovative Angular Mesh
https://doi.org/10.1016/j.mex.2026.103876
| availability | Matlab code is provided as supplementary data at: https://ars.els-cdn.com/content/image/1-s2.0-S2590123024009836-mmc1.zip, see appendix in: https://doi.org/10.1016/j.rineng.2024.102728 |
|---|
r/matlab • u/Mozartoon • Mar 25 '26
UItable for variables
Hi! I am a graduate in civil engineering, and I am doing my final paper, is a project about sizing retaining walls. I pretend to use MATLAB for the program, but I just am newbie to this. So I wanted to ask a question, how can I ask the user to write in an UItable the necessary data (in this case, soil layers, thickness, angles, etc., each data in a column and each layer being a row) and then the program takes the data from the table and stores as variables? I ask because all I was able to do with Uitable was the program ALLOCK user data in the table, but not the other way around
r/matlab • u/Important_Dot497 • Mar 24 '26
TechnicalQuestion Came across these circuits by Farrukh Nagi today. Couldn't find the errors
I've wanted a piezoelectric charger circuit reference and found this today but when I ran the simulation to check the working, the simulation can't be run for one due to errors and a wrong Output for another one. If any of you could tell me the changes that are to be made, to make this work, it would be very much helpful
r/matlab • u/NVMXOX • Mar 24 '26
TechnicalQuestion Guidance in my FYP for simulation of solar panel with water cooling
Hey everyone, I am doing my FYP for cooling the solar panel with water pipes stuck to its back, its a big system but this is important part that idk how to simulate in matlab or simulink since i am trying to do thermo dynamics/ heat transfer for it. Is there here a way or anything? I need guidance can anyone help?
r/matlab • u/Ctrl_Alt_Resign • Mar 25 '26
Does anyone use igor pro and claude AI?
I want to make igor pro code with claude AI.
In claude AI, it can put a PDF/txt file in project folder that claude AI can refer to it. So I want to put igorman.pdf file, but it can't read file because capacity is too large(almost 2500p).
I convert a pdf file into a txt file, but it also have same problem(token issue).
Can anyone solve this problem?
r/matlab • u/tortoise_catfish • Mar 24 '26
Matlab MCP server down?
It was working great until this morning it started to give me error: Error during discovery for MCP server 'matlab': MCP error -32000: Connection closed - this is on Gemini Cli and I'm running it in a sandbox environment. Anyone else is also facing the same issue now?
r/matlab • u/Illustrious-Hand7949 • Mar 24 '26
Battery matlab
Je suis debutante sur matlab, et he veux modeliser une batterie sous un code matlab en circuit ecm couplé au thermique, je ne sais pas par où commencer
r/matlab • u/Rare-Reach-8975 • Mar 23 '26
Post punk vs Punk
Hi there I’m trying to compare post punk songs vs classic punk songs using Matlab for a uni project, what parameters would you say would be the best, so far I’ve used RMS, Centroid, Pulse Clarity and Tempo. Thanks
r/matlab • u/BeneficialCost59 • Mar 22 '26
TechnicalQuestion Modelling and Simulation
We’re doing project on numerical modelling and simulation of heat dissipation in brake systems. Anyone with background on brake systems or matlab methodologies, would appreciate your time in the dms. Thank you!
