Réponse apportée
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...

3 mois il y a | 0

Réponse apportée
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...

3 mois il y a | 0

Réponse apportée
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, ...

3 mois il y a | 1

Réponse apportée
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...

3 mois il y a | 0

Réponse apportée
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. ...

3 mois il y a | 0

| A accepté

Réponse apportée
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...

3 mois il y a | 0

Réponse apportée
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...

3 mois il y a | 0

Réponse apportée
HDL Optimized Cosine/Sine block: unexpected FPGA resource utilization
Hi @Mehdi, Good questions, and no, you haven't found a bug — this is actually expected behavior once you know what's happenin...

3 mois il y a | 0

Réponse apportée
CheckCollision sometimes misses intersections between the robot arm and the collision cylinders
Hi @Urinder, Your robot already ships with collision meshes built in, so that's not the gap. Looking at your grid math instead:...

3 mois il y a | 0

Réponse apportée
How do I differentiate between wave patterns in multiple signals?
Hi @Sridutt, Great question! I ran into the same problem and worked out a solution that does exactly what you need — detectin...

3 mois il y a | 0

Réponse apportée
rotor side and control of DFIG based wind energy conversion system
Hi @Fatima zohra, Thankyou for posting your question on MATLAB Central. I appreciate your interest in improving the control p...

5 mois il y a | 0

Réponse apportée
comm.SDRuReceiver on X310 throws receiveData:ErrLateCommand
Hi @Hepzibah, Thanks for raising this. I looked into the ErrLateCommand error you are seeing with comm.SDRuReceiver on the X3...

5 mois il y a | 0

Réponse apportée
Why does fitlm give different results according to if I remove or I don't remove NaNs in the variables arrays?
Hi @Manuela, I wrote a MATLAB script (fitlm_nan_analysis.m) that walks through your exact dataset and explains why you're get...

5 mois il y a | 1

| A accepté

Réponse apportée
Error converting python DataFrame to Table
Hi @David, Thanks for writing in — you've actually already diagnosed this correctly, so let me just confirm it and get you mo...

5 mois il y a | 1

| A accepté

Réponse apportée
Integrating MMC in IEEE 9 bus system
Hi @Mojtaba, I had a look at both examples you mentioned and I think I can see exactly where you're getting stuck — so hopefu...

6 mois il y a | 0

Réponse apportée
Airplance Guidance System in Simulink
Hi @Olga, Thank you for posting your question on MATLAB Central — great to see you working on a flight simulator! I'm happy t...

6 mois il y a | 0

| A accepté

Réponse apportée
ParallelAssembly: Define the cell gap in x and y direction differently?
Hi @Fabian, Thanks for your question — I looked into this and wanted to share what I found. Unfortunately, the short answe...

6 mois il y a | 0

Réponse apportée
Simple battery inverter model in Simscape Electrical
Hi @Mikel, Saw your post and figured I'd put together everything I found so you don't have to chase it down yourself. Firs...

6 mois il y a | 0

| A accepté

A résolu


Find the stride of the longest skip sequence
We define a _skip sequence_ as a regularly-spaced list of integers such as might be generated by MATLAB's <http://www.mathworks....

6 mois il y a

A résolu


Sum the Infinite Series
Given that 0 < x and x < 2*pi where x is in radians, write a function [c,s] = infinite_series(x); that returns with the...

6 mois il y a

A résolu


Sum of first n terms of a harmonic progression
Given inputs a, d and n, return the sum of the first n terms of the harmonic progression a, a/(1+d), a/(1+2d), a/(1+3d),....

6 mois il y a

A résolu


"Look and say" sequence
What's the next number in this sequence? * [0] * [1 0] * [1 1 1 0] * [3 1 1 0] * [1 3 2 1 1 0] This a variant on the w...

6 mois il y a

A résolu


Square Digits Number Chain Terminal Value (Inspired by Project Euler Problem 92)
Given a number _n_, return the terminal value of the number chain formed by summing the square of the digits. According to the P...

6 mois il y a

A résolu


Integer sequence - 2 : Kolakoski sequence
Get the n-th term of Kolakoski Sequence.

6 mois il y a

A résolu


Golomb's self-describing sequence (based on Euler 341)
The Golomb's self-describing sequence {G(n)} is the only nondecreasing sequence of natural numbers such that n appears exactly G...

6 mois il y a

A résolu


Projector Matrix
Write a function to determine whether or not the matrix is a projector. Projector matrices are defined as P^2 = P.

6 mois il y a

A résolu


Nilpotent matrix
Check if matrix A is <http://mathworks.com/ nilpotent>.

6 mois il y a

A résolu


Orthonormal matrix
You decide whether any given matrix is an orthonormal matrix or not. If each column in a matrix is perpendicular to the other...

6 mois il y a

A résolu


Is this matrix orthogonal?
Given a square matrix, a, determine whether it is orthogonal. INPUT: a, a n x n matrix OUTPUT: true or false

6 mois il y a

A résolu


Determine if input is a valid AHP evaluation matrix
Input is a matrix. Output is a true or false statement (1 or 0). Return true if input is a valid Analytic Hierarchy Process eval...

6 mois il y a

Charger plus