A résolu


Is the Point in a Circle?
Check whether a point or multiple points is/are in a circle centered at point (x0, y0) with radius r. Points = [x, y]; c...

14 jours il y a

A résolu


Spherical radius given four points
Determine the radius of a sphere provided four non-coplanar points on the surface of the sphere. pts = [x1 y1 z1; x...

14 jours il y a

A résolu


Are all the three given point in the same line?
In this problem the input is the coordinate of the three points in a XY plane? P1(X1,Y1) P2(X2,Y2) P3(X3,Y3) how can...

14 jours il y a

A résolu


Find third Side of a right triangle given hypotenuse and a side. No * - or other functions allowed
Find the remaining side of a triangle given the hypotenuse and a side. However, the normal functions and symbols are not allowe...

14 jours il y a

Réponse apportée
Clarification on Sampling Rate vs. Control Bandwidth in Average Current Mode Control for Buck Converter
Hi @Cuong, Thanks for the detailed questions on your Buck converter setup — really good thinking on your part to question thi...

14 jours il y a | 1

| A accepté

A résolu


Triangle Coordinates
Given a natural number n, return two -element vectors, x and y, containing the coordinates of a triangular arrangement of points...

15 jours il y a

A résolu


Angle Between Analog Clock Hands
Given a datetime variable t, return the angle (in degrees) between the hour and minute hands of an analog clock at the time repr...

15 jours il y a

A résolu


Extract the Acrostic Message
An acrostic cipher is a way of embedding one message within another by taking the first (or last) word of each line. Given a str...

15 jours il y a

A résolu


Boustrophedon
Given a vector v and a positive integer n, return an m-by-n matrix containing the elements of v row-wise, alternating left-to-ri...

15 jours il y a

A résolu


Create block matrix of integers (j+k-1) - Part II
Given m, n, p, and q, create an m-by-n matrix made up of submatrices, each sized p-by-q (if possible - the last row and column o...

15 jours il y a

A résolu


Create block matrix of integers (j+k-1) - Part I
Given m, n, p, and q, create a matrix of m-by-n blocks (submatrices), each sized p-by-q. The elements of the (j,k)th block all h...

15 jours il y a

A résolu


Dartboard Average II
A dartboard arranges the numbers 1 to 20 such that each value is typically flanked by quite different values - for example, 20 i...

15 jours il y a

A résolu


Possible Rugby Scores
Given a natural number s (> 4), representing a rugby team's score, return an n-by-3 matrix representing all n possible combinati...

15 jours il y a

Réponse apportée
How to place code generated from subsystem into RAM on Ti C2000?
Hi @Valeriy, Good question — this trips up a lot of people because the MathWorks documentation focuses on the pragma setup bu...

15 jours il y a | 0

| A accepté

Réponse apportée
Docblock within a Black box subsystem for VHDL module simulation
Hi @Matias, Thanks for your question — this is a very common point of confusion and the documentation doesn't make it obvious...

17 jours il y a | 0

Réponse apportée
Simulink simulation becomes very slow after adding FOC to a 6-phase PMSM drive with CHB inverter
Hi @Fabrice, What you are experiencing is completely normal and expected given your setup. The main culprit is your 100 kHz ...

20 jours il y a | 0

Réponse apportée
Apply DC Dynamic load block in a three phase grid connected rectifier circuit
Hi @Xuan Minh, Thanks for sharing the details of your setup — this is a really interesting modification and the issue you're...

22 jours il y a | 0

| A accepté

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

25 jours il y a | 1

| A accepté

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

28 jours il y a | 1

| A accepté

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

environ un mois il y a | 0

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

environ un mois il y a | 1

| A accepté

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

environ un mois il y a | 0

| A accepté

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

environ un mois il y a | 0

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

environ un mois il y a | 0

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

environ un mois il y a | 0

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

environ un mois il y a | 0

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

environ 2 mois il y a | 0

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

environ 2 mois il y a | 2

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

environ 2 mois il y a | 0

| A accepté

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

environ 2 mois il y a | 1

Charger plus