Answered
What is the equivalent of "millis()" and "micros()" in MATLAB?
There is no direct equivalent to millis() and micros() in MATLAB, however you can use tic and toc as a work around. Please ref...

3 years ago | 0

Answered
I am having difficulty in finding a code to find diameter of a circle
Rather than finding the distance with code, I feel it would be easier to use imtool and use the 'Measure distance' tool. You c...

3 years ago | 0

| accepted

Answered
6. Write a MATLAB program to Plot the spectra of the signal x[n]=sin(nπ/3)
The code snippet below should solve your question. n = 1:0.01:5; y = sin(n*pi/3); plot(n,y); Modify the range of n as requi...

3 years ago | 0

Answered
3d BAR GRAPH WITH ERROR
I understand you want to create 3D plot of the errors vs x_true and y_true. First of all, based on the code you have provided,...

3 years ago | 0

Answered
Error showing image after reading it
You can resolve this error by using the clear command before running your code

3 years ago | 0

Answered
Fixing quirk in uihtml + JavaScript implementation of "command line" with command history
I have made some modifications to your prompt.html file. It seems to fix your issue. Please have a look

3 years ago | 0

| accepted

Answered
calculate distance and angles between points in a grid
Based on the inromation you have provided, the below code should calculate the distance and angle for all 961 coordinates from c...

3 years ago | 0

| accepted

Answered
App Designer: Triggering ValueChanged callback for text Edit Field with Default Value
I understand you want to show the default value in the start by pressing enter. The issue is that text fields only have 2 call b...

3 years ago | 0

Answered
Bloomberg Query Language (BQL)
I understand you want to use BQL from MATLAB. The below links contain information about using Bloomberg from MATLAB https://www...

3 years ago | 0

Answered
Automating Labelling process for videos and images using the Video Labeler App for Deep Learning
I understand you are trying to run Point Tracking algorithm on a sequence of grayscale images. This error is because the rgb2gra...

3 years ago | 0

| accepted

Answered
APP table 文字如何居中显示?
This is a link to a similar question asked in the forum https://www.mathworks.com/matlabcentral/answers/488135-how-to-change-ho...

3 years ago | 0

Answered
Using using system Identification app, the time-plot and model output of input-output data is in which units of time
I understand you are not sure of the units of time on the x-axis. While creating data, the default units of time is seconds. How...

3 years ago | 0

| accepted

Answered
How can I get multiple data(*text*) form single edit text in MATLAB guide?
I understand you want to store your text data from an edit text input in one row. This snippet which you have written Rx...

3 years ago | 0

Answered
Error using str2double on a cell array, getting NaN
I understand you want to convert strings of date/time values into doubles so you can plot them. As per the image you attached, t...

3 years ago | 0

Answered
How to segment a graph from a node?
Hi, I understand you want to segment your graphs in a particular way. Firstly, I would suggest you give a name to each of your n...

3 years ago | 0

Answered
How do i calculate for conditions
I understand that you want code to calculate these conditions. I assume you are looking for a vectorized approach rather than a ...

3 years ago | 0

| accepted

Answered
How to write this function in MATLAB
I understand you want to write this function in MATLAB with w as a vector. The code below should accomplish this Pw = L*exp(-1...

3 years ago | 0

Answered
How can you 'quantify' IFFT of 2D image?
I understand you want to quantify the imperfections in your image compared to your pristine reference image. I suggest you look ...

3 years ago | 0

Answered
how to superimpose peak intensities
I understand that you want to find an envelope for all the peak values of different curves. Looking at the image you shared, I a...

3 years ago | 0

Answered
Binary Image Pixel Connectivity Analysis
I understand that you want to find all connected components in a binary image. I suggest you use a sequential 2 pass algorithm...

3 years ago | 0

Answered
Batch process and name/save images in a separate folder
I understand you want to save your final images in a separate folder in the current folder with names similar to the original PN...

3 years ago | 0

| accepted

Solved


Make the vector [1 2 3 4 5 6 7 8 9 10]
In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...

4 years ago

Solved


Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

4 years ago