Réponse apportée
create a parquet file with struct inside it
Parquet is a columnar storage format that is optimized for reading and writing large amounts of structured data efficiently. Whi...

plus de 2 ans il y a | 0

Réponse apportée
A script to append a column with values and read multiple txt files from different folders
This is an example MATLAB code that should accomplish what you described: % Define the names of the folders containing the text...

plus de 2 ans il y a | 0

Réponse apportée
how can i form a ZCT matrix of 64*64.
The ZCT pattern is a matrix of -1's and 1's that is repeated in a checkerboard pattern across the matrix. This is an example co...

plus de 2 ans il y a | 0

Réponse apportée
how to call a script file in simulink?
The MATLAB Answer found here lists the steps to call a MATLAB script file from Simulink.

plus de 2 ans il y a | 0

Réponse apportée
how can i get 6 gaussian distribution?
To draw a histogram of six Gaussian distributions with six local max values as the average value, we can use the histogram funct...

plus de 2 ans il y a | 0

Réponse apportée
Extract column from text file
To extract the first number between the brackets in the data provided, we can use regular expressions in MATLAB. This regular e...

plus de 2 ans il y a | 0

Réponse apportée
How to add script to testing environment
Yes, it is possible to call a MATLAB script or function in Simulink Test. You can use the MATLAB Function block or the MATLAB Sy...

plus de 2 ans il y a | 0

Réponse apportée
Find distance of two points inside a matrix
The interp2 function in MATLAB to interpolate the depths between two points on a grid of longitudes and latitudes. I will show a...

plus de 2 ans il y a | 0

| A accepté

Réponse apportée
Exporting excell from matlab
To export a cell array as an Excel file from MATLAB, we can use the writetable function. This is an example which demonstrates h...

plus de 2 ans il y a | 0

| A accepté

Réponse apportée
change matlab linear index to numpy.
This can be the equivalent NumPy code for the given MATLAB code: import numpy as np X = np.random.rand(16, 10, 1200) My = np....

plus de 2 ans il y a | 0

Réponse apportée
Can you please help me ?
The following code plots the functions pointed by you: % Define the ramp function r(t) r = @(t) t .* (t >= 0); % Define th...

plus de 2 ans il y a | 0

Réponse apportée
Continuous-Time Signal Plotting
The following MATLAB code will plot the three functions pointed by you: % Define the ramp function r(t) r = @(t) t.*(t >= 0);...

plus de 2 ans il y a | 0

Réponse apportée
find center of matrix
To find a mini square exactly at the center of a 100x120 matrix in MATLAB, we can follow the following steps: Calculate the cen...

plus de 2 ans il y a | 2

Réponse apportée
How to train data in SVM?
In general, it is a good practice to normalize your data before training a machine learning model. Normalizing the data ensures ...

plus de 2 ans il y a | 0

Réponse apportée
How to compare two xcel worksheets?
To compare two Excel worksheets in MATLAB, we can use the readtable function to read each worksheet into a table, and then use t...

plus de 2 ans il y a | 0

Réponse apportée
Quistion 1: Write a MATLAB program (Script file) Q1_my_average that takes a vector (an array) of values and returns the sum and product of this vector, you need to use two way in solving this question, one of them is using built in function.
This is a MATLAB program called my_average that takes a vector of values as input and returns the sum and product of the vector:...

plus de 2 ans il y a | 0

Réponse apportée
nntool traing parametrs meaning?
Effective R2022a, the nntool has been removed and replaced with nnstart.

plus de 2 ans il y a | 0

Réponse apportée
Write MATLAB code for height of projectile and range of projectile
We can write MATLAB code to calculate the height and range of the projectile for a range of launch angles, and then plot a graph...

plus de 2 ans il y a | 0

Réponse apportée
How can i calculate memory cost of my program?
To compute the memory cost of a MATLAB program, we can use the whos function to display information about the variables in the M...

plus de 2 ans il y a | 0

| A accepté

Réponse apportée
how do i plot the following signal in matlab? x(n)=4u(n)-u(n-1)-u(n-2)-2u(n-3)
To plot the signal x(n) = 4u(n) - u(n-1) - u(n-2) - 2u(n-3) in MATLAB, we can first define the signal as a function of n, and th...

plus de 2 ans il y a | 0

Réponse apportée
how to import.csv file in sptool
To import a data file in CSV format into sptool in MATLAB, you can use the readtable function to read the CSV file into a table....

plus de 2 ans il y a | 0

Réponse apportée
Gauss-Seidel for solving linear equations
To solve the system of linear equations using the Gauss-Seidel iterative method in MATLAB, we can apply the iteration formula fo...

plus de 2 ans il y a | 1

Réponse apportée
Matlab programming code for comparing linear equation and cholesky decomposition method
To compare solving a linear system using the standard linear equation method and the Cholesky decomposition method in MATLAB, we...

plus de 2 ans il y a | 0

Réponse apportée
Use while for bisection method
The bisection method is a numerical algorithm used to find the roots of a function within a specified interval. This is an examp...

plus de 2 ans il y a | 0

Réponse apportée
Help for matrix in matlab
I am assuming that you wish to get a 400x1 matrix, instead of a 20x1 matrix, the latter being not possible without dropping elem...

plus de 2 ans il y a | 0

Réponse apportée
Perform convolution between the two given signals 𝑥(𝑡) = 5 cos 𝑡 and ℎ(𝑡) = 2𝑒 −|𝑡| . Verify the same using MATLAB.
To perform convolution between the two given signals x(t) = 5cos(t) and h(t) = 2e^(-|t|), we can use the following steps: Defin...

plus de 2 ans il y a | 0

Réponse apportée
Matlab function that takes in a matrix to test for positive definite
This is a MATLAB function that tests whether a given matrix is positive definite: function [is_pd] = isPositiveDefinite(A) % F...

plus de 2 ans il y a | 0

Réponse apportée
Please I need help with this,translating into Fortran expressions
I hope these are the FORTRAN expressions for the given expressions: (i) X = 1.0 + (Y ** 3)/(2.0*REAL(2)) - (Y ** 5)/(REAL(24))...

plus de 2 ans il y a | 0

Réponse apportée
Read notes from a PowerPoint presentation?
As pointed out by you, actxserver function has to be used to read speaker notes for each slide in PowerPoint from MATLAB and col...

plus de 2 ans il y a | 0

Réponse apportée
What is the functionality of '.uz'?
In MATLAB, the .uz syntax is used to access a field or property of a struct object. In the example you provided, intrpUd is lik...

plus de 2 ans il y a | 1

Charger plus