답변 있음
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개월 전 | 0

답변 있음
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개월 전 | 0

답변 있음
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개월 전 | 0

답변 있음
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개월 전 | 0

답변 있음
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개월 전 | 0

답변 있음
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...

3개월 전 | 0

| 수락됨

답변 있음
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. ...

3개월 전 | 0

| 수락됨

답변 있음
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...

3개월 전 | 1

| 수락됨

답변 있음
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, ...

3개월 전 | 0

답변 있음
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...

3개월 전 | 0

답변 있음
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...

3개월 전 | 0

답변 있음
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 ...

3개월 전 | 0

답변 있음
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...

3개월 전 | 0

| 수락됨

답변 있음
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개월 전 | 0

| 수락됨

답변 있음
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개월 전 | 0

답변 있음
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개월 전 | 0

답변 있음
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개월 전 | 0

답변 있음
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...

4개월 전 | 0

답변 있음
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...

4개월 전 | 1

답변 있음
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...

4개월 전 | 0

| 수락됨

답변 있음
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...

4개월 전 | 0

답변 있음
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...

4개월 전 | 0

답변 있음
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개월 전 | 0

| 수락됨

답변 있음
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...

1년 초과 전 | 0

답변 있음
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...

1년 초과 전 | 0

답변 있음
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...

1년 초과 전 | 0

답변 있음
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...

1년 초과 전 | 0

답변 있음
hi i have a function with 5 constraints , i need someone to help me write the 5th one
Hi Anwar, If your constraint is |S[k] - S[k-1]| > dSOCmin then the condition in the if statement should be if any(abs(dx)<=dS...

1년 초과 전 | 0

답변 있음
Unable to Package App on App Designer
Hi Kuber, The import tool is not supported for code generation, so if you are using it in your app it will not work. Here's a v...

1년 초과 전 | 0

답변 있음
How to code following equation in MATLAB ?
Hi Charu, There are a few issues with both your methods and I also have some doubts about the equation. Is B(m) a function of m...

1년 초과 전 | 0

더 보기