Answered
Working With user input data in Matlab GUI Tables
You can achieve this by using the uitable component in your MATLAB GUI ,Please refer to the below link: https://www.mathworks.co...

1 year ago | 0

Answered
Variable breakpoints in 3D-Lookup table?
Hi Benedikt, It sounds like you want to create a 3D lookup table in MATLAB where the range of the x- and y-axis breakpoints dep...

1 year ago | 0

Answered
Help with MATLAB selection sort function???
Here's the modified selection sort function in MATLAB, which includes an optional argument for sorting order. The function will ...

1 year ago | 0

Answered
How do I merge vectors?
To achieve this, you want to create a 10×2 matrix C where: The first column contains all elements from vector A. The second co...

1 year ago | 0

Answered
For loop on .txt serie
To evaluate a function on consecutive subseries with increasing lengths from a time series and collect the results for plotting,...

1 year ago | 0

Answered
How to generate square zero one matrix with specific characteristics
To generate a square matrix of zeros and ones such that the proportion of ones to the total number of elements is a specified va...

1 year ago | 0

Answered
how to merge tables without any common keywords?
To add the 20x1 and 1x20 tables to the 20x20 table to create a 21x21 table in MATLAB, you can follow these steps: Create the in...

1 year ago | 0

Answered
how to convert values into matrix form????
Converting a given set of values into a matrix format in MATLAB can be done in various ways depending on the structure of the in...

1 year ago | 0

Answered
How to generate a random irreducible matrix
Generating an ( m \times n ) irreducible column-reduced matrix can be achieved using MATLAB. An irreducible column-reduced matri...

1 year ago | 0

Answered
Calculating number of monthly events
To calculate the monthly number of events from your provided date data in the tableformonthly.xlsx file in MATLAB. Here's a step...

1 year ago | 0

Answered
how to create complete binary tree in matlab of sensor nodes\
Here is the MATLAB code to create a binary tree data structure: % Define a structure for a tree node function node = createNod...

1 year ago | 0

Answered
How do i delete introns from a RNA sequence?
Sure, let's write a MATLAB script to find and remove motifs that start with "GU" and end with "AG" from a given character array....

1 year ago | 0

Answered
Question on create array of number / transfer function
To create a transfer function ( H(w) ) that is 1 for ( w ) in the range ([-2000, 2000]) and 0 otherwise, you can use the followi...

1 year ago | 0

Answered
Problem of saving time format
You can use the 'readtable' and 'writetable' functions, which provide better control over the data types and formats. Here's ho...

1 year ago | 0

Answered
Projectile motion with loop function
To simulate the projectile motion of a ball and stop the simulation once the y-position goes below the floor (y = 0), you can us...

1 year ago | 0

Answered
How to add cumulative values of a set of unique combinations within a Table?
You can achieve this in MATLAB by using the groupsummary function to group the data by the unique combinations of the "Salespers...

1 year ago | 0

Answered
can i chop a sine signal in simulink?if so how?
Yes, it is possible to chop a sinusoidal wave in MATLAB. By "chop," I assume you mean truncating or zeroing out parts of the sin...

1 year ago | 0

Answered
Cylinder generation by using a 3D matrix
To visualize a 3D data matrix as a cylinder in MATLAB, you can use the surf or mesh functions to plot the data on the surface of...

1 year ago | 0

Answered
How to create a matrix using vectors(columns) from different matrices (in a structure) with different lengths?
Here is the code to achieve it: S = {rand(1000, 2), rand(1000, 2), rand(1000, 2)}; % Number of cells in the cell array num_ce...

1 year ago | 0

Answered
Combination of elements in 2 different vectors
To solve this problem, you can use MATLAB to generate the required combinations and fill the matrix ( C ). The goal is to create...

1 year ago | 0

Answered
I am trying to create a nested loop from a random matrix and display the max value of each row and each column without using max function.
Here is the code to get max value from each row and column: rows = input('Enter the number of rows: '); cols = input('Enter th...

1 year ago | 0

Answered
How to show time and current at y axis at the same time
To display both time and current values on the y-axis simultaneously, you can use MATLAB's ability to create multiple y-axes on ...

1 year ago | 0

Answered
Extract data from fileDatastore and cell
To extract specific columns (in your case, columns 1 and 3) from a cell array and obtain all rows, you can use MATLAB's cell arr...

1 year ago | 0

Answered
Solve F=ma for position. I need to solve 2nd order differential equation in MATLAB and I read all the tutorials out there I still can't figure out how to do it, Please help!
To solve for velocity and then position using ode23 in MATLAB, you need to set up two separate differential equations. The first...

1 year ago | 0

Answered
how can ı normalize the histogram?
Here is an example code snippet that demonstrates how to normalize a histogram and overlay a fitted distribution: % Example dat...

1 year ago | 0

Answered
coefficients checked asking for him
To create a MATLAB script that checks the coefficients of a quadratic equation and ensures they are real numbers and coeffecient...

1 year ago | 0

Answered
computing transformation matrix using the least squares approximation
To compute the transformation matrix ( T ) using the least squares approximation given matrices ( A ) and ( B ), you need to sol...

1 year ago | 0

Answered
function to measure the correlation between nominal and continuous data
In MATLAB, you can use different statistical methods to measure the correlation between categorical and continuous data sets. Wh...

1 year ago | 0

Answered
Copy and Paste Table into Word
I assume you want to create tables in MS Word. The following MATLAB Answers links have similar queries, you can check these out:...

1 year ago | 0

Answered
Comounding interest with monlthy payments and government bonus
I have modified your function to calculate the balance for each year correctly, taking into account the compounded interest, mon...

1 year ago | 0

Load more