Solved


Calculate the sphericity of a Raschig ring
Sphericity is a measure of the roundness of any particle. It was defined by Wadell in 1935 as the ratio of the 'surface area of ...

10 days ago

Answered
IEC 61672-1:2013 standard for A-weighting filter
Hi @Saket, Short answer: no, MATLAB doesn't have a 2013 option here. weightingFilter, visualize, and isStandardCompliant i...

10 days ago | 1

| accepted

Solved


Bouncing disk
A disk is placed in a rectangular room with dimensions a and b in a point with coordinates x0 and y0. The disk is given a startu...

11 days ago

Solved


The glass half full
Identical glasses are placed in a triangular tower structure, such that the top level (L = 1) comprises one glass, the next leve...

11 days ago

Solved


Pi Digit Probability
Assume that the next digit of pi constant is determined by the historical digit distribution. What is the probability of next di...

11 days ago

Solved


Approximation of Pi (vector inputs)
Pi (divided by 4) can be approximated by the following infinite series: pi/4 = 1 - 1/3 + 1/5 - 1/7 + ... For a given numbe...

11 days ago

Solved


Mersenne Primes vs. All Primes
A Mersenne prime (M) is a prime number of the form M = 2^p - 1, where p is another prime number. <https://www.mathworks.com/matl...

11 days ago

Answered
hi I am currently doing my research on inverter fault prediction using Digital Twin and I am not being able to understand modeling in Digital Twin, please help with tutorials.
Hi @Varsha, There is no single "Digital Twin" block in MATLAB or Simulink. A digital twin here just means your Simscape Elect...

11 days ago | 0

| accepted

Answered
Simscape electrical thermal analysis
Hi @Seth, A few things jump out that would explain both symptoms. The flat 300 K reading: Simscape's built-in default init...

17 days ago | 0

| accepted

Answered
ultrasounds imaging using matlab tv radios signals
Hi @imaging, Following up on Star Strider's answer. I looked into this more and put together a PDF of references covering bot...

18 days ago | 0

| accepted

Answered
Sleep signal activation with TI DRV8243H Motor driver controlled via STM32 F413ZH running via External Mode on Simulink
Hi @Anirudh, There are really two separate things bundled into your post – the nSLEEP wake-up issue, and the PID design for t...

18 days ago | 0

| accepted

Answered
Simscape Battery: How to connect a Vectorized Thermal Port (1×14) to multiple Temperature Sources?
Hi @Ye, The error is happening because XminH is a 1×14 vectorized thermal port (one node per cell), but it's connected to a s...

20 days ago | 0

| accepted

Answered
Can I return the xml string from writestruct?
Hi @Martin Dale, Just to add a bit more to this — I dug through the docs and Matt J's right, writestruct doesn't have any hid...

20 days ago | 0

Answered
Help - Nested uitogglebutton State Change Callback
Hi @Keith, This isn't something you're missing in your code, it's a hard limitation of how uitogglebutton and uibuttongroup a...

24 days ago | 0

| accepted

Answered
How to generate a parallel input interface (or vector port) using HDL Coder
Hi @KH, What you're seeing is expected behavior, and there's a setting that controls it, though it works differently dependin...

25 days ago | 0

Answered
Draw a circle at the end of a quiver3 line
Hi @Ethan, Following up with a tested solution to my own question, in case it helps. To recap what I was after, I wanted a...

26 days ago | 0

| accepted

Answered
Custom Deep Learning Layer with different input and output format occurs error
Hi @Chuguang Pan, As mentioned in the comments, this turned out to be a bug in checkLayer on R2025a, confirmed by MathWorks s...

27 days ago | 0

| accepted

Answered
Replicating PCM System in Simulink: Issues with Signal Dimensions and Missing 'To Frame' Block.
Hi @Abdul, I think I found the real culprit behind the flat/zero scope output, and it's probably not the A-law or quantizer s...

28 days ago | 0

Answered
Sonar image formation from Phased Array Systems toolbox
Hi @Michael, Got a working template for you, plus a bit more detail than I first gave. Attached: 1. forward_look_sonar_scan.m ...

30 days ago | 0

Answered
is it easy way to use robust fuzzy logic controller for AGV
Hi @Medihiya, Yes,definitely doable — people have been using fuzzy controllers for this kind of thing for a while, and curved...

30 days ago | 1

Answered
propagateOrbit function fails on Epoch field format
Hi @Kurt, Wanted to close the loop on the Excel/datetime thing properly before saying anything definitive. Ran a couple of...

1 month ago | 0

Answered
How to use tleread function on TLE file with alpha-5 satellite numbers
Hi @Kurt, Short answer: tleread() doesn't support Alpha-5 catalog numbers right now — it's built to expect the old-style fixe...

1 month ago | 0

| accepted

Answered
PMSM SMO rotor position calculation in Simulink
Hi @Zhiyu, I looked into this a bit and I think I found the source of the confusion. Based on the way the block is labeled (...

1 month ago | 0

Answered
Adding a dummy non-learning, non-controlling agent halves the convergence speed of the main agent in MATLAB RL Toolbox
Hi @zhenpeng, Really solid ablation you've done here. I went through MathWorks' docs on train, rlMultiAgentTrainingOptions, a...

1 month ago | 0

Answered
Confusion about ROS2 parameters in MATLAB Coder
Hi @Sönke, This is a real, documented limitation — not something wrong with your code. The getParameter reference page state...

1 month ago | 0

Answered
How to simulate wheel-rail contact on a curve with Simscape Multibody?
Hi @Rafael, After digging through documentation and a couple of papers on this exact problem, here's what I found — and yes, ...

1 month ago | 1

Answered
Compatibility of Genesys ZU (Zynq UltraScale+ MPSoC) with Simulink HDL Workflow
Hi @JACOB ETOJU, You are right that the Genesys ZU is not on the official supported board list for HDL Coder. Short answer: i...

1 month ago | 0

Answered
i have coupled odes with slip boundary conditions.
Hi @Sunitha k, Took a closer look at your code and got it running end to end, so here's what was going on and where it landed. ...

1 month ago | 0

| accepted

Answered
fitting is not working
Hi @Ehtisham, Just want to close the loop on this one. Walter was right that the bounds had an extra entry that wasn't even bei...

1 month ago | 0

Answered
How to change the grid color in function heatmap
Hi @涛, Ran a quick test in MATLAB to settle this one way or the other, since dpb and Lucas already had the right instincts an...

1 month ago | 0

Load more