Answered
How can I call satelliteScenarioViewer() by using Simulink (only)
Hey @Tanatsan It seems like you want to call an existing function, satelliteScenarioViewer, using Simulink. We can utilize the...

7 månader ago | 0

Answered
applying the Parsen Window using a specific frequency for the width estimation
To implement a smoothing operation using a Parzen window of width 0.1 Hz on the Fourier Amplitude Spectrum (FAS) of a signal, th...

7 månader ago | 0

| accepted

Answered
Is Sine Wave Function Block the best for Signal Creation?
Hey @Alexander Gaudreau Firstly, the position graph presented in the model spans 15 seconds. However, since we have added a sa...

7 månader ago | 1

| accepted

Answered
cgs algorithm not working with function defined system matrix
Hey @asim asrar The error message "Arrays have incompatible sizes for this operation" typically indicates that there is a size ...

7 månader ago | 0

| accepted

Answered
exponential of a matrix to determine transition probability matrix
Hey @susman, The function “expm” computes the matrix exponential. Matrix exponential is a standard mathematical operation on m...

9 månader ago | 0

Answered
yline disappeared after closing a saved figure when reopening
Hey @John Pausder I have been encountering a similar issue while working with “xline” and “yyaxis”. The only workaround I can t...

9 månader ago | 1

Answered
Quadratic Lagrange Interpolation in MATLAB not working
It seems you are facing an issue to interpolate using quadratic lagrange interpolation. Firstly, there seems to be some issue ...

9 månader ago | 0

Answered
About Solving nonlinear ODE
Hey @WooJin Choi Seems like you are trying to solve nonlinear ODE given by “A1*diff(y,t) - A2*(2*g*y + diff(y,t)^2)^(1/2) = K1”...

9 månader ago | 0

Answered
How to extend the curve fitting graph beyond given experiment values?
Hey @CHITTI SATYA SUNDARA UDAY SRIKANTH It looks like you are trying to extend the fitted curve to an “x” value 1,000,000 and f...

9 månader ago | 0

Answered
How to execute GUI callbacks in separate .m files.
Hey @Alena Schwartz, It seems like you are trying to structure your MATLAB GUI code by separating the callbacks into different...

9 månader ago | 0

Answered
Change value of a dropDown menu containing objects of different classes
Hey @Nicolas Kaiser, I understand the challenge you are facing with the “DropDown” elements in MATLAB, with the intricacies o...

9 månader ago | 0

Answered
List of xyz coordinates for two vectors that continuously change through time, how to find angle between the two vectors as time passes and their coordinates change?
Hi @alexandra ligeti It seems like you are trying to calculate the vector that points from the source point (Source x, y, z) t...

9 månader ago | 0

Answered
Editor font size is smaller than command window font size
Hi @Man Shiu Kwok I understand that you want to increase the editor font size. To do so, try using control+scrollUp in co...

9 månader ago | 0

Answered
Is it possible to easily disable default interactivity for all axes?
For R2020b and later versions, the following command can be put in the “startup.m” file to disable the interactivity in plots. ...

9 månader ago | 0

| accepted

Answered
Preview webcam in app designer
The possible reason for axes to disappear is that the “preview” function is overriding the axis properties. In this case you can...

9 månader ago | 0

Answered
stateflow chart 에서 구조체 데이터형 선언하는 방법
In Stateflow, you have the ability to define a structure as "parameter data" and access its individual fields using dot notation...

9 månader ago | 0

Answered
Parametrized SQL queries for PostgreSQL?
If you are working with a PostgreSQL server and need to execute parameterized queries using MATLAB's database toolbox, you will ...

9 månader ago | 1

Answered
Gauge simulation is not working
Hi @Sergio The gauge block doesn't use a port to connect to the model elements; instead, it connects using the connect mode. So...

10 månader ago | 0

Answered
Linear Equation Solving, I am getting the wrong output
Hi @Jonathan Leutz The issue with the code is that you are trying to solve a system of linear equations using symbolic variable...

10 månader ago | 0

Answered
Problems using plot3
Hi, The xlread function by default returns numerical data in the first output argument, text data in the second, and a raw cell...

10 månader ago | 0

Answered
How to plot different colors (scatter or line) depending on (i+1<i) or (i+1>i) condition ?
Hi @C.PR You can iterate over the points on the curve and check the condition for whether the function is increasing or decreas...

10 månader ago | 1

Answered
Binarizing image with single pixels
Hi @Mat If you're working with an image that has random pixels against a faintly noisy background and wish to detect those rand...

10 månader ago | 0

Answered
Obtain eigs from matrix and partially known eigenvector
Hey @Jiali The issue you're experiencing is likely due to the removal of diagonal elements from the matrix P. When you remove t...

mer än ett år ago | 0

Answered
Estimating the parameter of a power law distribution using maximum likelihood estimation (MLE)
Hey @@Kashif Naukhez To fit a power law distribution to your data points using Maximum Likelihood Estimation (MLE) in MATLAB, y...

mer än ett år ago | 0

Answered
How to calculate every peak in plot
Hey @pizzaa To calculate the peaks in the intensity profiles, you can use the findpeaks function in MATLAB. This function finds...

mer än ett år ago | 0

Answered
How to find the number of continuous data set along each row in the matrix given below? Desired result given below.
Hey @Payel You can try something like this : V = [0 0 0 0 0 0 0 0; 1 1 0 0 0 0 1 1; 0 0 1 1 1 0 0 0; 1 1 1 ...

mer än ett år ago | 0

| accepted

Answered
Changing variabele from minutes to seconds and cell to double?
Certainly! In MATLAB, you can convert the timestamp data from the cell array into double values representing seconds. Here's how...

mer än ett år ago | 1

| accepted

Answered
How to put 8 variables into a single matrix?
To combine the 8 variables into a matrix of dimension (65,8) in MATLAB, you can use the concatenation operation. Here's an examp...

mer än ett år ago | 0

| accepted

Answered
How to calculate the mean and standard deviation of the following matrix considering only the nonzero values of the matrix ?
In MATLAB, you can calculate the mean and standard deviation of the non-zero values in a matrix using the following steps: Step...

mer än ett år ago | 0

| accepted

Answered
"eig" in Simulink Matlab Function returns complex value.
Hey @주형 The difference you're observing in the output of the MATLAB function when used in Simulink versus when used in a standa...

mer än ett år ago | 0

Load more