Risposto
Help needed to make a 3d contour plot
Hi Digvijay, From what I understand, you want to make a 3D surface using x,y,z data points and make a 3D contour plot using fu...

3 mesi fa | 0

Risposto
How to plot a velocity field
Hi Andres, I see that you are trying to plot a velocity field defined in polar coordinates using the ‘quiver’ function. The ‘q...

3 mesi fa | 0

Risposto
How to create complex 'or', 'and' and 'not' operations in fuzzy inference rules
Hi Raul, I understand that you want to create complex rules for your Fuzzy Logic System but MATLAB does not support the use of...

3 mesi fa | 1

Risposto
How can i connect multiple system to one solver configuration block?
Hi @Kaustav Mukherjee, I see that you want the entire model to have the same solver configuration and so are trying to attach t...

3 mesi fa | 0

Risposto
Plot 2 D traiectory
Hi Adriana, The ‘XY Graph’ block has been improved in MATLAB R2021b and above by replacing it with a configuration of the ‘reco...

3 mesi fa | 0

Risposto
How to plot a 3D cfit funktion in a 2d plot with isolines.
Hi @Christian Beigl, From what I understand, you are trying to plot contours of different values for the surface defined by ‘s...

3 mesi fa | 0

Risposto
How to graph 'trapz' function
Hey @Max Payne, To visualize the trapeziums used for calculation by the 'trapz' function, you can make use of the 'xline' and '...

3 mesi fa | 0

Risposto
2D steady heat transfer output returning NaN
Hi @Jai Harnas, I ran your code for heat transfer and did get the NaN values like you mentioned. On debugging I found that the ...

3 mesi fa | 0

Risposto
Error in bessel code
Hi @Subha S, From what I understand, your plots are not matching the figure given in the research paper. This is because of a s...

4 mesi fa | 0

| accettato

Risposto
How to create position input for prismatic joint with DC motor ?
Hi @Fatih, I think you can use the 'Ideal Translational Motion Sensor' block to get the position. Let me know if this works. ...

4 mesi fa | 0

| accettato

Risposto
Wrong output with MATLAB S Function
Hi @AYYAPPA RUDRASIMHA, The simulation results using the MATLAB function block and S-function block are different because the C...

4 mesi fa | 1

| accettato

Risposto
Why is there no matching of timing data when trying to match participant timing data (separate file) with note onset data (one file)?
Hey Andrea, Like you mentioned, the issue is in fact in the data extraction from the participant data file. In the data file, ...

4 mesi fa | 0

Risposto
Method for Measuring Forces Due to Mass in 6 Degrees of Freedom Motion
Hi 석준, As I understand you are trying to apply forces on your platform at certain points and then measure forces acting at ot...

4 mesi fa | 0

Risposto
error in task 6 of robotic vacuum stateflow
Hi @andre, I understand that you are going through the ‘Stateflow Onramp’ course and facing this issue. I went through this...

4 mesi fa | 0

Risposto
Cannot run Simscape code
Hi @Najla, The 'C code' tab appears when you want to generate code, either by using 'ctrl + b' shortcut or when you use any of ...

4 mesi fa | 0

Risposto
Nozzle Design Error: Matrix is singular, close to singular or badly scaled. Results may be inaccurate. RCOND = NaN.
Hi, The reason you are getting this warning is because some matrices used in the code contain NaN values. On debugging the cod...

4 mesi fa | 0

| accettato

Risposto
Issue regarding a data plot
Hi Rahul, I think the reason your graph shoots up so suddenly is due to the way you have defined the ‘percentage_difference_gI’ ...

4 mesi fa | 0

| accettato

Risposto
Why isn't the numerical value assigned by matlab verified using == function.
Hi @Yogesh, the 'format' command does not change the precision of your variables. It only changes the format in which the output...

4 mesi fa | 0

Risposto
Kindly guide how to add the single edit field for each RLC like [0.01, ...] and different time interval [10, 20, 30] in app designer and also the phase result on interfaces
Hi @Ehtisham, from what I understand you want to get a numerical vector from an edit field when you enter a string like “[10,20,...

4 mesi fa | 0

Risposto
Invalid setting in 'Model' for parameter 'Gain'.
Hi @SM, from my understanding you are calling the ‘F3’ function iteratively and based on the output from the function changing t...

4 mesi fa | 0

Risposto
calling function from separate document for fitting
Hi @Jack, the error that you are recieving is because you are passing 'x' as an argument of 'TA_fitting_function' but not defini...

5 mesi fa | 0

Risposto
After upgrading Win11, MATLAB garbled characters
Hi @第四, it looks like you have opened a 'pcode' file (file with extension '.p'). 'pcode' files are MATLAB program files in a pro...

5 mesi fa | 1

Risposto
How to create a dialog box in the plot window.
Hi @Ruben, you can use MATLAB’s ‘UIControl’ objects to build the user interface of your game. You can learn more about ‘UIContro...

5 mesi fa | 0

| accettato

Risposto
Trouble simulating an RC low and high pass filter with trapoziodal aproximation
Hi @Dayan, The reason your plot is not matching to the one in the lecture is because you are calculating ‘va2’ with old value...

5 mesi fa | 0

Risposto
inverse kinematics (self made function) errors
Hi @Manuel, the reason you are getting constant values for ‘joint2’ is because in the definition of ‘cos_joint2’ the sum of ‘ter...

5 mesi fa | 0

Risposto
Comparing difference in values between values in an array - Using For Loop
Hi @Ammar, the reason you are getting an error is because the distance variable is not pre defined as a vector so it is not able...

5 mesi fa | 0

| accettato

Risposto
How to save multiple figures generated from a single script?
Hi @yojitha etikala, Instead of saving figures from the scope, you could save the data from the scope into matlab workspace and...

oltre un anno fa | 0

Risposto
how convert field struct in cellarray
Hi @aldo Rank_DisplayIdxsis is already a cell array. When cell arrays are used as a value for struct field, then an array of st...

oltre un anno fa | 0

Risposto
Initializing UI Table App Designer
Hi Richard, This error is caused because you are converting the string arrays into cell arrays, because of which while concaten...

oltre un anno fa | 0

Risposto
How to solve the matrix P in the Lyapunov equation "A'P+PA=- Q" in Simulink
Hi LIULYAN, You can use a MATLAB function block and call the lyap function inside it to calculate P. Implement MATLAB Function...

oltre un anno fa | 0

Carica altro