Answered
Operands to the || and && operators must be convertible to logical scalar values
This error occurs because the input argument of the controlSystemDesigner function is not a valid transfer function object. The...

meer dan een jaar ago | 0

Answered
How to move a component in the system composer model hierarchy?
Cutting and pasting a component in the Simulink model hierarchy will move the component to the new location while preserving all...

meer dan een jaar ago | 1

Answered
Is there a way to switch between two thermal branches in a simscape model?
Yes, it is possible to create a switch block for the thermal domain in Simulink/Simscape. One way to implement this is to use a ...

meer dan een jaar ago | 0

| accepted

Answered
Run C/C++ code that uses makefile in MATLAB / call via matlab
Integrating external C/C++ code with MATLAB can be challenging, but it is possible to call C functions from MATLAB using the MAT...

meer dan een jaar ago | 0

Answered
Addon/Toolbox Post Install Hooks
Yes, there is a way to run post-installation code after installing a MATLAB add-on or toolbox using the MATLAB Add-On Manager. ...

meer dan een jaar ago | 0

Answered
How to calculate dimension of an interference pattern?
Yes, it is possible to compute the dimension (area) of Newton's rings in an IR image. Newton's rings are a pattern of interfere...

meer dan een jaar ago | 0

| accepted

Answered
Indexing different time stamps for same day?
If you have multiple conditions that you want to apply to the table, you can use the & operator to combine them into a single lo...

meer dan een jaar ago | 0

| accepted

Answered
function arguments block for replacing data in existing excel file
The format you provided for the function definition is not correct. Here's a corrected version: function f = replacedata(input_...

meer dan een jaar ago | 0

Answered
can we determine the fault in phase b or c in powerworld simulator
Yes, it is possible to determine the faulted phase or line in a power system using a fault analysis in PowerWorld Simulator. Wh...

meer dan een jaar ago | 0

Answered
Collection of mesh nodes with a mouse click
Hi, Yes, it is possible to select points from a 3D plot using mouse clicks and save them in an array. One way to do this is to ...

meer dan een jaar ago | 1

| accepted

Answered
3D logaritmic spirals on surface
Hi, To plot twelve equally spaced 3D logarithmic spirals that start from the circumference of the surface and converge to the t...

meer dan een jaar ago | 0

Answered
rescale function does not work correctly
Hi, Yes, it is a common issue in numerical computing due to the limitations of floating-point arithmetic. In floating-point ari...

meer dan een jaar ago | 0

Answered
Airy function fitting on minima
Hi, Fitting an Airy function to the fringes you have identified can be a good approach to accurately model and remove the fring...

meer dan een jaar ago | 0

Answered
How to eliminate a ~1 sec lag between the participant response and EEG trigger
Hi, It sounds like you are experiencing some latency between the onset of the response trigger and the actual delivery of the t...

meer dan een jaar ago | 0

Answered
Template function for invoking System Object MATLAB Coder
Hi, Yes, you can create a C++ library object from an existing DSP System Toolbox object by using the MATLAB Coder feature. One...

meer dan een jaar ago | 0

Answered
Export constant value from model explorer
Hi, Yes, it is possible to export the names of all the variables used in a Simulink model. One way to do this is to use the "M...

meer dan een jaar ago | 0

Answered
why am i getting this error with activation function in my code
Hi, The error message suggests that the argument 'ActivationFunction' is not a valid argument for the fullyConnectedLayer funct...

meer dan een jaar ago | 0

Answered
Why buffer to delay the filtered receiving signal in the Monte Carlo ROC Simulation?
Hi, The reason for delaying the receiving signal after filtering in the Loop Over Pulses section in Monte Carlo ROC simulation ...

meer dan een jaar ago | 2

| accepted

Answered
Building colourmap from continuous x, y position data
Hi, To create a heatmap using x and y position data in MATLAB, you can use the histcounts2 function to create a 2D histogram of...

meer dan een jaar ago | 0

| accepted

Answered
I am uninstalling matlab and getting the uninstall error
Hi, The error message you provided suggests that MATLAB cannot find a file in the specified directory: "C:\Program Files\MATLAB...

meer dan een jaar ago | 0

Answered
Running Simulink Online on Selfhosted Docker MATLAB Online Instance
Hi, Unfortunately, Simulink Online is not currently supported in MATLAB Online, even if you have installed Simulink and other r...

meer dan een jaar ago | 0

| accepted

Answered
How to IFFT only frequency information
Hi, Yes, you can perform an Inverse Fast Fourier Transform (IFFT) in MATLAB using the frequency and amplitude information that ...

meer dan een jaar ago | 1

Answered
matlab mechanics explorer not updating
Hi, It sounds like there may be a disconnect between the Simulink model and the actual robot arm. Updating the value of the gai...

meer dan een jaar ago | 0

Answered
IMU sensor fusion: imufilter command reduces number of samples
Hi, When you convert the quaternion obtained from the imufilter command to Euler angles, you are essentially converting from a ...

meer dan een jaar ago | 0

Answered
Configure embedded coder generated code to exclude model_initialize() entry function
In Simulink, the model_initialize() function is used to initialize the model states and other variables before simulation. Howev...

meer dan een jaar ago | 0

Answered
Standard deviation of each coefficient of regression model
Hi, You can estimate the standard deviation of the regression coefficients using the coefCI function in MATLAB, which is availa...

meer dan een jaar ago | 0

Answered
Is there any way to refresh a graph partly using 'drawnow'?
Hi, Yes, you can use the drawnow function to refresh the animation, but only update the objects that need to be updated. One w...

meer dan een jaar ago | 0

| accepted

Answered
I am getting an error while using lsim
Hi, The error message indicates that the input data U provided to the lsim function is not in the correct format. Specifically,...

meer dan een jaar ago | 0

Answered
Error using gpuArray/norm Failed to initialize GPU cuSOLVER library.
Hello Ziqi, The error message "Failed to initialize GPU cuSOLVER library" suggests that MATLAB is unable to access the cuSOLVER...

meer dan een jaar ago | 0

Answered
Are there MATLAB use cases for which a Windows laptop connected to 1 to 6 GPUs in external thunderbolt enclosures is useful?
Hi, Having multiple GPUs connected to a Thunderbolt hub can be useful for certain use cases, such as data processing or machine...

meer dan een jaar ago | 0

| accepted

Load more