Statistica
0 Domande
88 Risposte
RANK
789
of 297.457
REPUTAZIONE
96
CONTRIBUTI
0 Domande
88 Risposte
ACCETTAZIONE DELLE RISPOSTE
0.00%
VOTI RICEVUTI
8
RANK
of 158.938
CONTRIBUTI
0 Problemi
0 Soluzioni
PUNTEGGIO
0
NUMERO DI BADGE
0
CONTRIBUTI
0 Post
CONTRIBUTI
0 Pubblico Canali
VALUTAZIONE MEDIA
CONTRIBUTI
0 Punti principali
NUMERO MEDIO DI LIKE
Feeds
How to Center a Specific Block in the Simulink Window
Hi @長谷川, I've found two ways to zoom through a Simulink window while centering on a specific block: Select the entire model an...
4 giorni fa | 0
plot depth values for each location (latitude, longitude)
Hi @Tiziano Bagnasco, I assume you want to get a spherical plot with elevations from your data. To do so, the 'surf' function c...
6 giorni fa | 0
How to assign value from a struct to a bus
Hi @Nicolò Binda, To create a bus object from a MATLAB structure, you can make use of the 'createObject' function of the 'Simul...
7 giorni fa | 0
Map a surface plot to another if both the functions have same domain.
Hi @Prasanna Routray, I am assuming 'f2' maps to the same grid size as 'f1'. If so, then the size of the interpolated surface o...
11 giorni fa | 0
How to configure number of CORDIC iterations used in Real Divide HDL Optimized Block?
Hi @Urvish, I see that you're using MATLAB R2022b, but the 'CORDIC maximum shift value' parameter was added to the 'Real Divide...
11 giorni fa | 0
| accettato
Dimensions error between data and bus definition when using "From File" block
Hi @Akash, The error you are receiving is because the datatypes of the signals in the 'anemoA.mat' file and in the bus definiti...
12 giorni fa | 0
What function to use to calculate a vector of variance ratios
Hi @Jack Bratton, You can use the 'vratiotest' function that you've mentioned to get the variance ratios across a vector. Norma...
12 giorni fa | 0
Question regarding the NMPC example of the pendulum
Hi @patr chri, The code provided is trying to calculate the states of the pendulum at time 'k+1' which is at time 'Ts'. The sta...
14 giorni fa | 0
Why do we divide the variance by 255^2 when adding Gaussian noise in MATLAB?
Hi @jiang yutong, I went through the documentation of the 'imnoise' function to understand this, here's the link: https://www....
15 giorni fa | 0
How do I convert a regular map image (jpg/png file) to a basemap in order to display using geoaxes?
Hi Barak, The basemaps used in displaying geoaxes are not simple images. They are made using vector and rasterized data with th...
circa un mese fa | 0
Finite Element Analysis for Fixed Ended Beam with a Point Load example: I am getting this error: Error using * Incorrect dimensions for matrix multiplication. Check that the number of columns in the first matrix matches the number of rows in the se
Hi @Hamza Aboumaray, The error in your code is caused because the dimensions of the matrices ‘K’ (4X4) and ‘d’ (6X1) are not s...
circa un mese fa | 0
PID controller - How can I get specific data about the output I receive
Hi @Gabriel Levit, I see that you want to iterate over the output values of your simulation to get Rise time, Settling time, et...
circa un mese fa | 0
Change the material of th disque and the shaft
Hi @Amira, I assume you want to know how to programmatically change material properties of certain Simscape blocks. The ‘get_p...
circa un mese fa | 0
How can insert a 'bodeplot' in an axes object of AppDesigner.
Hi @Victor Crespo, The support for ‘UIAxes’ handles in ‘bodeplot’ for App Designer was added from R2020b. I would suggest to up...
circa un mese fa | 0
addlistener error - updating from handle.listener
Hi Kaden, According to the documentation of the ‘addlistener’ function, only properties whose class can set the ‘GetObservable...
2 mesi fa | 0
I have to do a 3D plot for rotating disk but i am not getting a 3D plot
Hey @Noor, I ran your code and the final plot obtained is actually a 3d plot but looks 2d because it’s a top down perspective. ...
2 mesi fa | 0
| accettato
Handle.listener, how to update code?
Hi Kaden, To update code from using ‘handle.listener’ to ‘addlistener’, the ‘eventName’ or the third argument needs to be chang...
2 mesi fa | 0
transferring data element between charts in stateflow
Hi @Ahmad Falih, To use input data in a Stateflow chart from other charts or Simulink blocks, the symbol (variable) for the da...
3 mesi fa | 0
How to get Symbols list of stateflow chart through command window
Hi @Nikhil Boddula, To get the symbols used in a Stateflow chart programmatically, the ‘find’ function can be used to retrieve...
3 mesi fa | 0
How to trigger an excel file download in chrome from Matlab. (403 with message "Forbidden" )
Hi @Ernesto Lopez Mondragon, The status code given in the error is 403 which means that the request was recognized by the serve...
3 mesi fa | 0
Angle measurement from video discontinuity problem
Hi @AC, On running the code and trying to debug it, I found that the 'jump' in angle values is because of the values of 'x1','y...
3 mesi fa | 0
How can I access Simscape Multibody solid properties calculated via geometry in a script?
Hi @Alejandro, Accessing the derived values, such as center of mass, moments of inertia, etc. that are calculated from geometry...
3 mesi fa | 0
How to get rid of this error I get while linearizing a plant by simulating input/output data
Hi @KUNAPULI SRINIVAS, This error is caused due to the solver not being in single tasking mode. That means using a fixed step ...
3 mesi fa | 0
I want to check this property with code in Simulink StateFlow. I found that there is no direct identifier. Is there any way to check this option? (Create output for monitoring
Hi @Fangping, To programmatically check the option “Create output for monitoring” in the Stateflow chart’s properties, you can ...
3 mesi fa | 0
Need Help with the code. Why I am getting the zero value for V., G_V and K_V?
Hi @Nikhil, The reason for why the values of matrix “K_V” is coming out to be zero is because the values are being initialized ...
3 mesi fa | 1
| accettato
Can the Simscape DC Motor block be used to represent a BLDC motor?
Hi @Michael P, BLDC motors are just a more efficient DC motor because of their brushless design. The use cases and physics s...
3 mesi fa | 0
Why does imagesc show different outputs for the same input matrix?
Hi @Sumit, From what I can tell, the reason the two figures are slightly different is because for figure 1 the colors are being...
4 mesi fa | 0
Problem in creating physics engine for a bouncing spring-mass cube
Hi @Ahmed Ghazal, To calculate the net forces on the block at every time step, the forces need to be updated at every time step...
4 mesi fa | 0
How do I phase shift a Simulink signal?
Hi Tevel, I see that you are creating an input signal by adding two sine wave signals, then splitting the input signal, one of ...
4 mesi fa | 0
Copy Block Mask GUI from Model to MATLAB App
Hi Daniel, To programmatically get the mask of any block in a Simulink model, the ‘get’ function of the ‘Simulink.Mask’ class ...
4 mesi fa | 0