Answered
The code returns a value in the form of "theta_3b(x, z) =.". How can I get this to return just theta_3b=
Hi Clayton, The variable ‘theta_3b’ derives its type from variable ‘C_nomp6’, which is of type ‘symfun’. This is why, when you...

4 months ago | 0

Answered
How do i plot this solutions?
Hello Benneth, The issue you are experiencing arises because the second argument of the MATLAB 'fplot' function is a cell arra...

4 months ago | 0

Answered
problem in plot of given equation
Hi Shiv, The error you are encountering occurs while adding the vectors‘df’,‘zfc’, and‘zfs’, which have different sizes. Speci...

4 months ago | 0

Answered
Defining vertical stiffness and damping for fiala tire model
Hi Shishir, The Simulink ‘Fiala Wheel 2DOF’ block is designed as a simplified tire with capabilities for lateral and longitudin...

4 months ago | 0

Answered
I want to integrate multiple files containing C Codes in a simulink model. All the files have multiple C functions which are called into other files too. How can it be done?
Hi Sanjay, You can integrate existing C code into Simulink using the C Caller block. To specify source code and dependencies, ...

4 months ago | 0

Answered
Closed b-spline
Hi Priyabrata, To create a closed B-spline curve of degree ‘k-1’, you need to append the initial ‘k-1’ points of the x and y v...

4 months ago | 0

Answered
Why do i keep get the message "Index expression out of bounds" ?
Hi Hung, I encountered a similar issue when using a Simulink ‘Mux’ block alongside a ‘MATLAB Function’ block. The error occurs...

4 months ago | 0

Answered
how to convert B-form into piecewise bezier curves
Hi Wong, To convert a B-form spline into multiple Bézier curves in MATLAB, you can use the MATLAB ‘spbrk’ function. The ‘spbrk...

4 months ago | 1

Answered
How do I use the Varying State Space Block in Simulink Simulating returns errors. An example would be helpful
Hi Bay Jay, The ‘Varying State Space’ block in Simulink is particularly useful for systems where the state-space representatio...

4 months ago | 0

Answered
Run a makefile created by simulink
Hi Hoang, I faced a similar issue when trying to execute a MATLAB makefile using bash and gcc. However, I found a solution by ...

4 months ago | 1

| accepted

Answered
Index exceeds array dimensions. Index value 7 exceeds valid range [1-6] for array 'u'. Error in 'control/MATLAB Function' (line 8) y=u(row,:);
Hi Ahmed, It looks like you're facing an issue with a persistent variable in your Simulink simulation. The error arises because...

4 months ago | 0

Answered
How to find path of the signal source from its name?
Hi Vick, To trace the origin of a signal in a Simulink model, you can utilize the‘SrcBlockHandle’and‘SrcPortHandle’parameters ...

4 months ago | 0

Answered
Deep Learning Toolbox Multiply by [] in Second Learning Iteration?
Hello Travis, I encountered a similar error while using the Deep Learning Toolbox in MATLAB 2021a. This error appears to occu...

5 months ago | 0

Answered
use sim with an ode solver, stop time, and time step
Hi Oliver, To configure the solver type, stop time, and time step for your model, you can use the ‘Simulink.SimulationInput’ o...

5 months ago | 0

Answered
Flow chart runs only once ?
Hi Xiaohong, When you connect a Stateflow 'default transition' to a flow chart, it is designed to execute only upon entry into...

5 months ago | 0

Answered
How to delete labels of bus selector in a fast and easy way?
Hi Zuyuan, I encountered the following issues while trying to remove labels from the output signals of a ‘Bus Selector’ block ...

5 months ago | 0

Answered
How to latch the value of an array signal at a particular timestep using Simulink
Hi Geethika, To latch the value of a signal at a particular timestep, you can use Simulink “Enabled subsystem” block in the Si...

5 months ago | 0

Answered
Incomplete large json string from SQL DB
Follow the steps given below, to retrieve full string of the field named ‘jsonfid’ with ‘NVARCHAR(MAX)’ datatype from a SQL db. ...

5 months ago | 0

Answered
The size of X must match the size of Z or the number of columns of Z.
Hi Kushagra, I understand you are trying to solve the 2d Laplace equation for heat conduction using forward difference scheme,...

5 months ago | 0

| accepted

Answered
Why are the final values for velocity and acceleration from bsplinepolytraj() always equal to zero?
Hi Everett, I understand that you want to know why the last values for the x and y components of velocity and acceleration ar...

5 months ago | 0

Answered
Capability analysis CPK vs PPK calculation?
Hi, I understand you want to calculate process performance index. I have calculated the Ppk value for vector ‘x’ using follo...

5 months ago | 0

Answered
Unable to launch local server from MATLAB 2015a
Hi, I understand you want to launch a web application using a local server. I am currently utilizing the ‘Python Flask’ fra...

5 months ago | 1

Answered
Problem with estimating PDF (ksdensity)
Hi Pepe, I understand you want to plot probability distribution functions for ‘detection’ and ‘in_process’. The steep curve...

5 months ago | 0