Answered
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....

ungefär en månad ago | 0

Answered
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...

ungefär en månad ago | 0

Answered
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...

ungefär en månad ago | 0

Answered
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...

ungefär en månad ago | 0

Answered
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...

ungefär 2 månader ago | 1

Answered
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 ...

ungefär 2 månader ago | 0

Answered
¿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...

ungefär 2 månader ago | 0

Answered
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 ...

ungefär 2 månader ago | 0

Answered
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...

ungefär 2 månader ago | 0

Answered
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 ...

ungefär 2 månader ago | 0

Answered
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...

ungefär 2 månader ago | 0

Answered
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...

ungefär 2 månader ago | 0

| accepted

Answered
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...

ungefär 2 månader ago | 0

Answered
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...

ungefär 2 månader ago | 1

| accepted

Answered
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 ...

ungefär 2 månader ago | 0

Answered
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...

ungefär 2 månader ago | 0

Answered
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...

ungefär 2 månader ago | 0

| accepted

Answered
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...

ungefär 2 månader ago | 0

Answered
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...

ungefär 2 månader ago | 0

Answered
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...

ungefär 2 månader ago | 0

Answered
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...

ungefär 2 månader ago | 0

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

ungefär 2 månader ago | 0

Answered
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...

ungefär 2 månader ago | 0

Answered
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...

ungefär 2 månader ago | 0

Answered
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...

ungefär 2 månader ago | 0

| accepted

Answered
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 ...

ungefär 2 månader ago | 0

Answered
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...

ungefär 2 månader ago | 0

Answered
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, ...

ungefär 2 månader ago | 0

| accepted

Answered
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...

ungefär 2 månader ago | 0

| accepted

Answered
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...

ungefär 2 månader ago | 0

Load more