Respondida
Block with adjustable delay
Hi @Tjitze de Vries , You asked, “ _In Matlab-Simulink I am looking for a function block or a combination of multiple blocks....

alrededor de 2 meses hace | 0

Respondida
Why do i get the error (Array indices must be positive integers or logical values) when trying to calculate the determinant
Hi @BICU, You have a matrix data that you transpose into datat. From this transposed matrix, you extract specific elements (r...

alrededor de 2 meses hace | 0

Respondida
creating structure based on txt file
Hi @Elzbieta, The issue you are encountering likely stems from the way you are checking for the presence of subjects and co...

alrededor de 2 meses hace | 0

Respondida
how to create a function that generates random numbers from a product of two exponential distribution ? (i.e. like gamrnd() is for gamma distribution)
Hi @Mohd, To achieve the desired outcome, set the variances for the two channels. Then, generate random samples from the comp...

alrededor de 2 meses hace | 0

Respondida
How to save Matrix in text-file using format double?
Hi @Holger, You can use the fprintf function instead of save. The fprintf function allows for greater control over the format...

alrededor de 2 meses hace | 1

Respondida
Convert string into datetime
Hi @Madison, To resolve the issue of plotting your data against datetime variables in MATLAB, it is essential to convert the ...

alrededor de 2 meses hace | 0

Respondida
¿Cómo obtener/considerar la variabilidad para distintas variables categóricas en un modelo lineal de efectos mixtos?
Hi @Sofía Mendoza, Sorry, I had to use Google translate to provide response to your comments. Instead of modeling the interac...

alrededor de 2 meses hace | 0

Respondida
Slope of some groups of data separated by NaNs
Hi @Adi Purwandana, After reviewing your comments, and analyzing the dataset data_mine.mat in matlab shown below Name ...

alrededor de 2 meses hace | 0

Respondida
how to graph a data array that is based on another data array
Hi @Kyle, After reviewing your comments, let me break down the key components and formulate a MATLAB code that incorporates y...

alrededor de 2 meses hace | 0

Respondida
Implementation of simulink model using a .m script
Hi @Divyashree , After going through your comments, in order to read data from an Excel file within your Simulink model, you ...

alrededor de 2 meses hace | 0

Respondida
How to combine and save two XDF files
Hi @M, you can utilize the xdf library, which is specifically designed for handling XDF files. Below is a step-by-step approa...

alrededor de 2 meses hace | 0

Respondida
My code has an opstruct error. What does it mean and how to solve it?
Hi @Yazhisai, After reviewing the documentation provided at the link below, <https://www.mathworks.com/help/matlab/ref/int...

alrededor de 2 meses hace | 0

| aceptada

Respondida
Wireless Testbench basebandTransceiver/capture Error:capture length depends on the device buffer size
Hi @Qian, The error message indicates that the combined data capture length across specified antennas exceeds the limit (2,68...

alrededor de 2 meses hace | 0

Respondida
What is the best technique to do image similarity on a pair of images that are only line segments and provides a value on how similar they are?
Hi @Michael , After going through your comments and to tackle the problem of image similarity comparisons between a hand-draw...

alrededor de 2 meses hace | 1

| aceptada

Respondida
Suppressing braces and single quotes of a string matrix
Hi @David Cole , You asked, “How do I suppress the braces and single quotes in a matrix full of strings?” To achieve the ...

alrededor de 2 meses hace | 0

Respondida
Rotation of matrices and image formed from it
Hi @Shafaq, To achieve the desired rotation of a matrix while preserving its norm, you need to consider a few key points. The...

alrededor de 2 meses hace | 0

Respondida
How can I write cell array data AND numeric matrix data in the same UITable in AppDesigner?
Hi @Jack Lebar , To successfully display both cell array data and numeric matrix data in a UITable in MATLAB's AppDesigner, i...

alrededor de 2 meses hace | 0

| aceptada

Respondida
how are images stored in defaultimagecdata
Hi @Kees, It is great to see your enthusiasm for learning. Let’s break down your code and clarify how it works, especially fo...

alrededor de 2 meses hace | 0

Respondida
How to align the lane road and vehicle trajectory?
Hi @Xinyu Yang, In your scenario, you have a vehicle trajectory defined in East-North-Up (ENU) coordinates, but your road dat...

alrededor de 2 meses hace | 0

Respondida
Find the minimum positive value between two decisions variables in MILP Environment and big-M method
Hi @Edoardo Beduglio, To achieve your objective of calculating the positive minimum value between (A) and (B) over 16 consecu...

alrededor de 2 meses hace | 0

Respondida
How do I connect data points with a line in a Simbiology XY graph?
Hi @Vivek, To achieve a line graph in SimBiology that connects the data points for complex (C) values at a specific time agai...

alrededor de 2 meses hace | 0

Respondida
كيفية حذف الصف والأعمد في أمر واحد من المصفوفة
Hi @sera , In MATLAB, you can delete rows and columns from a matrix simultaneously by using logical indexing or by specifying...

alrededor de 2 meses hace | 0

Respondida
How could I use "batteryChart" to plot Simscape battery objects on UIAxes in AppDesigner?
Hi @Hartmuth, You mentioned, “Any help or workaround would be highly appreciated!” After reviewing your comments, it sound...

alrededor de 2 meses hace | 0

Respondida
Multi agent reinforcement learning for gain tuning power electronics
Hi @Muhammad, Upon reviewing the code, it appears that the specifications for observations and actions are created using rlNu...

alrededor de 2 meses hace | 0

Respondida
Undefined operator './' for input arguments of type 'handle.handle'
Hi @Peter_SG , To calculate daily returns in MATLAB, it is essential to ensure that the data structure you are working with i...

2 meses hace | 0

| aceptada

Respondida
Trying to plot streamlines and need some help
Hi @Britney, To address your query regarding plotting the streamlines of a rotating cylinder, let me first analyze the context ...

2 meses hace | 0

Respondida
Simple question about creating an anonymous function,
Hi @Noob, In MATLAB, when you create an anonymous function like myrhs = @(t, z) model(t, z, p), you are indeed specifying the...

2 meses hace | 0

Respondida
fplot behavior at breakpoints
Hi @Xiaobo Dong, I do agree with @Walter Roberson’s comments,”fplot does not assume continuity. “ Let me address your query, ...

2 meses hace | 0

| aceptada

Respondida
How to animate background flow field that an object is moving through?
Hi @ Noob, After going through your comments, in order to achieve a comprehensive animation of both the falling plate and the...

2 meses hace | 0

| aceptada

Respondida
How do i calculate velocity and acceleration from positional data
Hi @jacob gandrup , To calculate velocity and acceleration from a dataset of x, y, and z coordinates, import the dataset cont...

2 meses hace | 0

Cargar más