photo

Abhaya


Last seen: environ un mois il y a Actif depuis 2024

Followers: 0   Following: 0

Statistiques

  • 3 Month Streak
  • Knowledgeable Level 1
  • First Answer

Afficher les badges

Feeds

Afficher par

Réponse apportée
Newline in stackedplot XTickLabel
Hi Daniel, I understand that you are trying to add a new line to “XTickLabel” values using character vector ‘\newline’. To ac...

environ un mois il y a | 0

Réponse apportée
Why does the axis 'Position' property not return the correct values after the size and position are changed?
Hi Peter, I understand you are getting the same results for “Position” property of “axes” even after setting the x-axis and y-...

environ un mois il y a | 0

Réponse apportée
The frequency axis for the PSD of a signal
Hi Mawe, I understand you want to find the frequency axis for the Power Spectral Density (PSD) of a signal, spanning from ‘-fs/...

environ un mois il y a | 0

Réponse apportée
why simulink model create a roundf() function in code generating process and how it used?
Hi, The ‘roundf’ function is a standard part of the C library, defined in the <math.h> header. It takes a floating-point val...

environ un mois il y a | 0

Réponse apportée
How to save mat files as h5 files?
Hi Gordon, I understand that you want to convert a 1x1 struct with 70 fields, to an H5 file using ‘h5write’ function. However,...

environ un mois il y a | 0

Réponse apportée
How I got a and b value from cftool in MATLAB
Hi Jayabrata, I understand you're trying to determine the coefficients 'a' and 'b' from a custom equation using MATLAB's curve ...

environ un mois il y a | 0

Réponse apportée
How to write code for entropy between two vectors?
Hi Nazila, To calculate the joint entropy between vectors ‘x’ and ‘y’, you can refer to the steps given below: Compute the j...

environ 2 mois il y a | 0

Réponse apportée
Copy of an handle object
Hi Alessandro, To copy the properties that contain handles, it is essential to create a new default object of ‘handleClass’ an...

environ 2 mois il y a | 0

Réponse apportée
Smoothing data without span
Hi Aylin, The span determines the number of data points used to compute the smoothed value. It can be specified as either an i...

environ 2 mois il y a | 0

Réponse apportée
codegen error at predict function
Hi Kwanghyun, I encountered a similar issue when trying to use a saved model in MATLAB R2021a. I tried loading and saving the ...

environ 2 mois il y a | 0

Réponse apportée
EXPORT OUTPUT TO READABLE .PRJ FILE
Hi Aiman, The extra double quotes in your text are caused by the ‘QuoteStrings’ property of the ‘writecell’ function. By defau...

environ 2 mois il y a | 0

Réponse apportée
How to plot pie chart of different size on map?
Hi Jonathan, In MATLAB, you can create multiple pie charts of different sizes using the MATLAB ‘axes’ and ‘pie’ functions. ...

environ 2 mois il y a | 0

Réponse apportée
Could anyone explain MBD in software development process V-shape model?
Hi @galaxy, In Model-Based Design, the testing processes of SIL (Software-in-the-Loop), PIL (Processor-in-the-Loop), and HIL (...

environ 2 mois il y a | 0

Réponse apportée
csapi with multiple consecutive coordinates
Hi Pelajar, The MATLAB ‘csapi’ function is used to generate a spline from given ‘x’ and ‘y’ coordinates, and the resulting spl...

environ 2 mois il y a | 0

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

environ 2 mois il y a | 0

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

environ 2 mois il y a | 0

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

environ 2 mois il y a | 0

Réponse apportée
How to combine multiple GF arrays into 1 big GF array
Hi Nick, To combine multiple GF arrays either vertically or horizontally, you can use MATLAB's built-in functions. Here's how ...

environ 2 mois il y a | 0

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

2 mois il y a | 0

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

2 mois il y a | 0

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

2 mois il y a | 0

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

2 mois il y a | 0

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

2 mois il y a | 1

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

2 mois il y a | 0

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

2 mois il y a | 1

| A accepté

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

2 mois il y a | 0

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

3 mois il y a | 0

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

3 mois il y a | 0

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

3 mois il y a | 0

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

3 mois il y a | 0

Charger plus