Answered

Getting ginput to read axes on an appdesigner GUI

Here is a previous discussion on this topic: https://www.mathworks.com/matlabcentral/answers/392617-how-can-i-use-ginput-in-a...

Getting ginput to read axes on an appdesigner GUI

Here is a previous discussion on this topic: https://www.mathworks.com/matlabcentral/answers/392617-how-can-i-use-ginput-in-a...

2 months ago | 0

| accepted

Answered

How do you use parameters with simulink coder?

You can change the parameter configuration using the Model Parameter Configuration dialog like below. But note that code from S...

How do you use parameters with simulink coder?

You can change the parameter configuration using the Model Parameter Configuration dialog like below. But note that code from S...

2 months ago | 0

Answered

Does Simulink Free Trial Version R2022a include Simulink coder and Embedded coder?

No you will need to request trials for those products separately.

Does Simulink Free Trial Version R2022a include Simulink coder and Embedded coder?

No you will need to request trials for those products separately.

2 months ago | 0

Answered

Data Type Conversion in simulink

Type "doc fixedt" in MATLAB to get a detailed explanation of the fixed point data types. If I right click on the data type conv...

Data Type Conversion in simulink

Type "doc fixedt" in MATLAB to get a detailed explanation of the fixed point data types. If I right click on the data type conv...

2 months ago | 0

Answered

How to do +,-,*,/ with one scalar and one matrix(IN GUI)?

Addition and subtraction are the same. You can add or subtract a scalar from a matrix. Adding or subtracting matrices requires...

How to do +,-,*,/ with one scalar and one matrix(IN GUI)?

Addition and subtraction are the same. You can add or subtract a scalar from a matrix. Adding or subtracting matrices requires...

2 months ago | 0

Answered

extracting road from lidar

Hard to tell without sample images but if the road is consistently a big black thing, use imclose to help make the edges solid a...

extracting road from lidar

Hard to tell without sample images but if the road is consistently a big black thing, use imclose to help make the edges solid a...

2 months ago | 0

Answered

Divide Image into Overlapping blocks and save it

An image is just a matrix. If you want to save a part, then imwrite(img(1:2084,1:1042), 'file1.jpg', 'jpg'); imwrite(img(1042...

Divide Image into Overlapping blocks and save it

An image is just a matrix. If you want to save a part, then imwrite(img(1:2084,1:1042), 'file1.jpg', 'jpg'); imwrite(img(1042...

2 months ago | 0

Answered

Detect ColorChecker chart in an image

You could pass a different value for Sensivity to colorChecker. By default it is 0.6. For information on supported color space...

Detect ColorChecker chart in an image

You could pass a different value for Sensivity to colorChecker. By default it is 0.6. For information on supported color space...

2 months ago | 0

Answered

Parameter Estimation in Simulink

You could look over this example: https://www.mathworks.com/support/search.html/videos/online-parameter-estimation-with-simul...

Parameter Estimation in Simulink

You could look over this example: https://www.mathworks.com/support/search.html/videos/online-parameter-estimation-with-simul...

2 months ago | 0

| accepted

Answered

How do I get the matrix of gray levels from the "from Video Device" in Simulink

Double click on the block and change the output color space option to "grayscale" if you can. Or, the Computer Vision Toolbox o...

How do I get the matrix of gray levels from the "from Video Device" in Simulink

Double click on the block and change the output color space option to "grayscale" if you can. Or, the Computer Vision Toolbox o...

2 months ago | 0

Answered

uigetfile in appdesigner freezes MATLAB

uigetfile is supposed to open a file selection dialog box and let the user select a file? Do you not see that dialog box pop up...

uigetfile in appdesigner freezes MATLAB

uigetfile is supposed to open a file selection dialog box and let the user select a file? Do you not see that dialog box pop up...

2 months ago | 0

Answered

I want to use mvnrnd for generating numbers,but there is error in my code

X has 31 columns. mu only has 2 columns since d == 2. Both need to have the same number of olumns. sigma needs to have the sa...

I want to use mvnrnd for generating numbers,but there is error in my code

X has 31 columns. mu only has 2 columns since d == 2. Both need to have the same number of olumns. sigma needs to have the sa...

2 months ago | 1

Answered

Why am I getting syntax

Missing two closing parenthesis it would appear. Is MATLAB suggestion not correct? You might do better breaking this up into m...

Why am I getting syntax

Missing two closing parenthesis it would appear. Is MATLAB suggestion not correct? You might do better breaking this up into m...

2 months ago | 0

Answered

How to generate a 1D random walk of 100 sample paths, along with sample mean and variance?

Try this to take advantage of vectorization in MATLAB. I may be confused about how you define "walks" and "steps", and whether ...

How to generate a 1D random walk of 100 sample paths, along with sample mean and variance?

Try this to take advantage of vectorization in MATLAB. I may be confused about how you define "walks" and "steps", and whether ...

2 months ago | 0

| accepted

Answered

Matlab ginput mouse click freezes and does not obtain coordinates

Do not use ginput with AppDesigner. Here is some related discussion and some alternatives: https://www.mathworks.com/matlabcen...

Matlab ginput mouse click freezes and does not obtain coordinates

Do not use ginput with AppDesigner. Here is some related discussion and some alternatives: https://www.mathworks.com/matlabcen...

2 months ago | 0

| accepted

Answered

How to read .s2p file as we read .xlsx file in Matlab. I am making a gui and it is having this as its feature.

The RF toolbox seems to have a function rfwrite: https://www.mathworks.com/help/rf/ug/writing-a-touchstone-file.html There a...

How to read .s2p file as we read .xlsx file in Matlab. I am making a gui and it is having this as its feature.

The RF toolbox seems to have a function rfwrite: https://www.mathworks.com/help/rf/ug/writing-a-touchstone-file.html There a...

2 months ago | 0

Answered

Adding a row to an existing ones in Excel

I cannot review online documentation for releases earlier than R2017A, but in that release readtable supports a 'TextType' optio...

Adding a row to an existing ones in Excel

I cannot review online documentation for releases earlier than R2017A, but in that release readtable supports a 'TextType' optio...

2 months ago | 1

Answered

what is command for instead DEGREES(ATAN2(A2,B2)) formula in excel??

Since -179 and 179 degrees are very nearly equal, those results are actually within the tolerance of your other results. If you...

what is command for instead DEGREES(ATAN2(A2,B2)) formula in excel??

Since -179 and 179 degrees are very nearly equal, those results are actually within the tolerance of your other results. If you...

2 months ago | 0

Answered

If A and B are 2x2 matrices, how is the input (A*B)^2 interpreted by MATLAB as?

Since 2x2 matrix multiplication is supported by the associative property, both of those interpretations are the same. This is s...

If A and B are 2x2 matrices, how is the input (A*B)^2 interpreted by MATLAB as?

Since 2x2 matrix multiplication is supported by the associative property, both of those interpretations are the same. This is s...

2 months ago | 0

Answered

matlab standalone exe splash screen appears and close, not running exe, tried several things but no success. Anyone has anything, please???

Here is a list of MATLAB runtimes that need to be installed for executables created from the MATLAB Compiler for each release of...

matlab standalone exe splash screen appears and close, not running exe, tried several things but no success. Anyone has anything, please???

Here is a list of MATLAB runtimes that need to be installed for executables created from the MATLAB Compiler for each release of...

3 months ago | 0

Answered

azimuth, elevation to x y z rotation

Your question is incomplete. Azimuth and elevation are two angles and there is no single point solution [x, y, z] that satisfie...

azimuth, elevation to x y z rotation

Your question is incomplete. Azimuth and elevation are two angles and there is no single point solution [x, y, z] that satisfie...

3 months ago | 0

Answered

matlab rank of a matrix

You are probably attempting to go below the numerical precision of your hardware and software: eps ans = 2.2204460...

matlab rank of a matrix

You are probably attempting to go below the numerical precision of your hardware and software: eps ans = 2.2204460...

3 months ago | 0

Answered

how to solve this error?

You can use the print function to save a figure to disk. See this thread: https://www.mathworks.com/matlabcentral/answers/10...

how to solve this error?

You can use the print function to save a figure to disk. See this thread: https://www.mathworks.com/matlabcentral/answers/10...

3 months ago | 0

Answered

create csv file with user input and current date as name

Use sprintf to generate a local string variable. Use a \\ sequence to include a single \ in the string. Then pass the string a...

create csv file with user input and current date as name

Use sprintf to generate a local string variable. Use a \\ sequence to include a single \ in the string. Then pass the string a...

3 months ago | 0

Answered

How can I average values from 3 consecutive rows of a matrix in one designated column repeatedly over the whole matrix?

If your matrix can have a number of rows that is a multiple of three, and you should know its size at the time you need to perfo...

How can I average values from 3 consecutive rows of a matrix in one designated column repeatedly over the whole matrix?

If your matrix can have a number of rows that is a multiple of three, and you should know its size at the time you need to perfo...

4 months ago | 0

| accepted

Answered

How to concatenate multiple text files in a single matrix

The third file does not have as many columns as the first two. Table concatenation requires a consistent number of variables to...

How to concatenate multiple text files in a single matrix

The third file does not have as many columns as the first two. Table concatenation requires a consistent number of variables to...

4 months ago | 0

Answered

Plotting satellite elevation and azimuth using skyplot

You have to make all data into a one dimensional vector, not a two dimensional matrix. One quick way is to use one colon instea...

Plotting satellite elevation and azimuth using skyplot

You have to make all data into a one dimensional vector, not a two dimensional matrix. One quick way is to use one colon instea...

4 months ago | 0

| accepted

Answered

Plotting satellite elevation and azimuth using skyplot

skyPlot is intended to show a snapshot of multiple satellites rather than a plot history. Type "doc skyplot" for details. Here...

Plotting satellite elevation and azimuth using skyplot

skyPlot is intended to show a snapshot of multiple satellites rather than a plot history. Type "doc skyplot" for details. Here...

4 months ago | 0

Answered

Runge-Kutta matlab library

ode45 is the closest Runge Kutta implementation for what you are describing. Type "doc ode45" for details.

Runge-Kutta matlab library

ode45 is the closest Runge Kutta implementation for what you are describing. Type "doc ode45" for details.

4 months ago | 0

Answered

How to store the difference between adjacent pixel values of image

Use imfilter with a 1D filter argument. If your h is vertical then the difference operation is in the vertical direction. If t...

How to store the difference between adjacent pixel values of image

Use imfilter with a 1D filter argument. If your h is vertical then the difference operation is in the vertical direction. If t...

4 months ago | 0