photo

BhaTTa


Last seen: Today Active since 2023

Followers: 0   Following: 0

Statistics

  • Knowledgeable Level 1
  • First Answer

View badges

Feeds

View by

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

10 hours 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...

10 hours 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...

11 hours 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...

12 hours 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...

12 hours 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 ...

2 days 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...

4 days 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...

4 days 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...

4 days 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...

5 days 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...

6 days 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...

6 days 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:...

6 days 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...

7 days ago | 0

Answered
Smoothening of signal using triangular window
This code will compute the PSD of your signal, create a triangular smoothing window with a bandwidth of 0.4 Hz, and apply the wi...

7 days ago | 0

Answered
Extract Data from Table by Data Values
You can achieve this by using logical indexing below is the implemetation: % Example to create a sample table, replace this wit...

8 days ago | 0

Answered
Model of a matrix
To model a matrix of full permutation with (n) variables where each row is a permutation of ((1, 1, 0, \ldots, 0)) and ((-1, -1,...

1 month ago | 0

Answered
code that make matrix contain 30 ten pounds
To create a MATLAB code for detecting counterfeit £10 notes based on RGB color values, you'll need to follow several steps. This...

1 month ago | 0

Answered
how to get conservative
Given that your rainfall data is organized in a 31x12 array, where each row represents a day of the month (up to 31 days) and ea...

1 month ago | 0

Answered
Using user input to read a table and get an answer.
To implement a multiple-choice test in MATLAB that determines which character a user is most like based on their answers, you ca...

1 month ago | 0

Answered
Data Store Memory to Global Workspace
To write data to the MATLAB global workspace from within a function, you can use the assignin function. This function allows you...

1 month ago | 0

Answered
how to generate a dome shape by using defined points
To generate a semi-ellipsoidal dome shape using specific x, y, and z values in MATLAB, you'll need to adjust your approach. The ...

1 month ago | 0

Answered
how to generate a dome shape by using defined points
To generate a semi-ellipsoidal dome shape using specific x, y, and z values in MATLAB, you'll need to adjust your approach. The ...

1 month ago | 0

Answered
binary bits xor operation
For performing an XOR operation on specific bits of binary numbers efficiently, without using a loop for the bit-wise operation,...

1 month ago | 0

Answered
Correlation of 2D matrix and 3D Matrix
To correlate an element B(i,j) of a 2D matrix B with an element A(i,j,k) of a 3D matrix A where B(i,j) is equal to A(i,j,k) for ...

1 month ago | 0

Answered
3d arrays Matrix multiplication with a vector
To multiply a 3D matrix by a vector in MATLAB, you need to decide how you want this multiplication to behave. Since direct multi...

1 month ago | 0

Answered
User equipment in Small cell Network!
Defining a User Equipment (UE) in a specific cell, such as a picocell, in a cellular network involves both theoretical understan...

1 month ago | 0

Answered
Copy option is disabled
Possible Workarounds to resolve the issue: If you're working with arrays in the Variable Editor and cannot use the right-click...

1 month ago | 0

Answered
inputdlg saves input as a cell and not an array
When you use inputdlg in MATLAB, the input you get is indeed a cell array of strings. If you enter a matrix in the format [1 2 3...

1 month ago | 0

Answered
convert double to signed int
To interpret 0x9C40 as a signed 16-bit integer (which in two's complement would indeed be -25536), you can follow this approach:...

1 month ago | 0

Load more