Answered
code improvement/optimization
Hi @Cesar, Thanks for sharing your code — it is clear you have a solid grasp of the method and the structure is easy to fol...

19 days ago | 1

Answered
Unable to find explicit solution on vector equation with solve
Hi @Yanncha, I took a close look at your code and identified everything that's going wrong — there are actually a few layered i...

22 days ago | 1

| accepted

Answered
What are the Differences between Simulink "Powertrain blockset" and "Simscape Driveline" in the case of developing a Hybrid Electric Vehicle?
Hi @Khaled, Saw your question on MATLAB Answers and wanted to give you a proper rundown since this trips up a lot of people e...

26 days ago | 0

Answered
Unable to View Data Properly in Variable Editor (R2025a, Monokai Scheme)
Hi @Yuan, I have been looking into your Variable Editor issue with the Monokai scheme in R2025a, and I think I've figured out...

1 month ago | 1

| accepted

Answered
Subtracting a vector from a variable-sized matrix in Simulink issue
Hi @Kadir, I looked into your problem and there's actually a perfect block for this, but it depends on whether you have the DSP...

1 month ago | 0

| accepted

Answered
6-phase IPMSM with arbitrary spatial displacement
Hi @Sebastian, Thank you for your question regarding the PMSM (Six-Phase) block in Simscape. I've conducted a thorough review...

1 month ago | 0

Answered
Output torque calculation of two geartrain mechanism
Hi @ Khyati, Based on the MathWorks documentation for Simscape Multibody Revolute Joints https://www.mathworks.com/help/sm/re...

1 month ago | 0

Answered
Copilot gives directions on using ARX to identify a MIMO model which do not work - what is the correct call to ARX for 5 input, 3 output system?
Hi @Sean, Thanks for reaching out about the ARX estimation error with your 5-input, 3-output system. I've reviewed the MathWo...

1 month ago | 0

Answered
How can I speed up simcape simulation (electrical + thermal) with tight timing constraints?
Hi Mina, Thanks for reaching out about your 4-phase buck converter simulation challenges. I've reviewed your model setup with t...

1 month ago | 0

Answered
PMSM 'Teknic2310P' wrong parameters
Hi @Ahmed, Great catch on spotting that discrepancy! I looked into this for you and here's what's going on: You're absol...

1 month ago | 0

Answered
How would i get acces to a object that i only know the name of?
Hello, I saw your post about the custom component issues in App Designer. I dug through the MathWorks docs and found what's goi...

1 month ago | 2

Answered
Simulation of a 3D monopole antenna
Hi @Jaume, Great question about adding thickness to your inverted-L coplanar antenna! I understand you want to add approximat...

1 month ago | 0

| accepted

Answered
How to code differencial difference equation - pipe flow
Hi @Michal, I saw your post about implementing the pipe flow model with differential equations, and I've developed a complete M...

1 month ago | 1

Answered
How to get monthly average for ten years monthly data?
Hi @Riyadh, I reviewed your question about calculating monthly averages from 10 years of data, and I understand the issue you'r...

2 months ago | 0

Answered
Type-4 Wind Generator Model
Hi @Callum, I looked into your question about finding a single 2 MW Type-4 Wind Generator model in Simulink, and I think I ca...

2 months ago | 1

| accepted

Answered
Cannot specify per-phase P and Q in Simscape Wye-Connected Load
Hi @Prosper, Thanks for reaching out about the Wye-Connected Load block issue. I went through your question carefully, looked...

2 months ago | 1

| accepted

Answered
The generated EMPC is not giving the same results as MPC
Hi @Mayank, I came across your post about the Explicit MPC issue with your quadcopter controller, and I think I might be able t...

2 months ago | 0

Answered
How to configure rectangular immersion cooling tank with bottom inlet and top outlet using Simscape Tank (TL) block?
Hi Raphael, I looked into your question about modeling the immersion cooling system with the Tank (TL) block. Good news on th...

2 months ago | 0

| accepted

Answered
Transmitting on 2 different USRP B210
Hi @Andrew, I saw your post about the LIBUSB_ERROR_CODE -1 you're getting with the two USRP B210s. I've spent some time digging...

2 months ago | 0

Answered
formula for the electric charge stored accros a Schottky junction
Hi @Jaisson, I've gone through the SPICE Diode documentation and looked into the junction charge formula issue you raised. Yo...

2 months ago | 1

Answered
Fixed-point precision and scaling in HDL OFDM Tx/Rx cause frame errors compared to MATLAB double implementation.
Hi @Alperen,I've read through your post and I think you're on exactly the right track suspecting fixed-point quantization as the...

2 months ago | 0

| accepted

Answered
imuSensor loadparams unable to load NoiseType from json File
Hi @Brendan, I went through your post about the NoiseType parameter issue with imuSensor's loadparams function, and I complet...

2 months ago | 0

| accepted

Answered
Error in close calculation and plotting
Hi @Nikita,I've identified the issue with your code. The error occurs because detrend_correl_07_slope_1 is a table, not a regula...

2 months ago | 0

Answered
How do I add summation to a symbolic equation in order to integrate across set bounds?
Hi @Mara, I think you're actually overthinking this a bit. The numerical approach you've already started is the right way to go...

2 months ago | 1

Answered
GPU Acceleration Options for Large-Scale Simscape Microgrid Simulation
Hi @Liyang, I've looked into your questions thoroughly and want to give you a complete picture of what's possible after doing...

2 months ago | 0

| accepted

Answered
GigE Cam works with 2024B but not 2025B
Hi @Yuchen, I looked into your GigE camera detection issue with MATLAB 2025B and this appears to be a version-specific regres...

2 months ago | 1

| accepted

Answered
How can I calculate the Variance Inflation Factor (VIF) for a linear regression model
Hi @Ojaswi, I looked into the MATLAB Central thread you shared about calculating VIF for your DOE models. The issues you ran ...

2 months ago | 0

| accepted

Solved


Combined Ages 2 - Symmetric, n ≥ 3
Following on <http://www.mathworks.com/matlabcentral/cody/problems/42382-combined-ages-1-symmetric-n-3 Combined Ages 2>, you wil...

3 months ago

Solved


Combined Ages 1 - Symmetric, n = 3
You have probably seen the common riddle wherein combined ages are provided and you must determine the individual ages. For exam...

3 months ago

Solved


Linear system of equations
Solve the system of equations in three variables.

3 months ago

Load more