已回答
Please help, I don't understand the error. How I can make it correct?
The line here need to be fixed: ndataSIR=20*[0 randn(0,width,[1,numpts]); 0 randn(0,width,[1,numpts]); 0 randn(0,width,[1,nump...

2 years 前 | 0

已回答
How to perform inverse between a page of a 3D matrix and a column vector without loops?
load H.mat load A1.mat size(H) size(A1) answer = H.\A1; size(answer)

2 years 前 | 0

已回答
CSV or XLSX to write data
CSV would be faster.

2 years 前 | 0

已回答
how can I add noise to an image using the Slider
See app attached. Let me know if you have any questions.

2 years 前 | 0

| 已接受

已回答
Determine what UI Object Called a Context Menu
Could you create a property variable that stores the handle of the last clicked listbox? something such as: properties ...

2 years 前 | 0

已回答
I have an satellite image and I want to extract the information from ROI of image?
Note, I used Computer Vision Toolbox below. Capture_img = imread('Capture.jpg'); Picture1_img = imread('Picture1.png'); imsho...

2 years 前 | 0

| 已接受

已回答
How to remove rows with specific number and column in table?
t=table; t.Num = round(4*rand(814,1)); sum(t.Num==0) randhalf = (t.Num==0).*rand(size(t.Num)) randhalf = randhalf>.5 % chang...

2 years 前 | 0

| 已接受

已回答
How to let the user input an excel file (i.e .csv file) and array in MATLP APP Designer
Attached are two examples of apps opening Excel files.

2 years 前 | 0

| 已接受

已回答
How to count pixels/measure area in binary image?
img = imread("sample.png"); img = im2bw(img); imshow(img) se = strel('sphere',15);; circles=imopen(~img,se); imshow(circles...

2 years 前 | 0

| 已接受

已回答
How to extract character and number only from this image to .txt?
You could use the optical character recognition (ocr) function that comes with the image processing and computer vision toolbox ...

2 years 前 | 0

已回答
How to avoid overwrite in excel in apps designer
You can change the write mode as such: writecell(tab,fullfile(selectPath,filename),'WriteMode','append');

2 years 前 | 0

| 已接受

已回答
How to detect if passed handle is a handle to an App Designer Application
metaclass(app).Description Should return 'Properties that correspond to app components' if it is an app. where the input "app"...

2 years 前 | 0

已回答
What does this line mean
You can read about the function, unifrnd, here: https://www.mathworks.com/help/stats/unifrnd.html

2 years 前 | 0

已回答
code errors at app designer
You need to make the fullname variable a property variable, so that it can be used by the different functions within the app. ...

2 years 前 | 0

| 已接受

已回答
app designer readmatrix only 1 row
I would have used a similar approach. This could be faster depending on the size of your data: prueba = readmatrix(app.filename...

2 years 前 | 0

| 已接受

已回答
How to display only certain UITable data in a graph?
Obtain values from the first column that contains the check boxes. selected = app.UITable.Data(:,1); Use the logic array (sele...

2 years 前 | 0

已回答
combing two arrays into a table (app designer)-Array indices must be positive integers or logical values.
Here are a few options to consider below. 1. Define variables You can define variables when they are created as properties...

2 years 前 | 1

| 已接受

已回答
Grouping and averaging values within a matrix
m = [-1.60120522975922 -0.522726416587830 1.67500007152557 -1.60120522975922 -0.518805325031281 1.67500007152557 -1.5972841978...

2 years 前 | 1

| 已接受

已回答
trouble plotting curved line
I'm not sure what you are trying to graph. I don't know what the T and S variable are suppose to be. Here is a guess of what I t...

2 years 前 | 0

已回答
i got a question regarding showing the after picrute on app designer
I answered this here: https://www.mathworks.com/matlabcentral/answers/1869472-hi-guys-how-should-i-fix-i-this-code-error-its-su...

2 years 前 | 0

已回答
hi guys how should i fix i=this code error its supposed to be changing an image to gray scale mind u this is in app designer
Have you tried using im2gray instead of rgb2gray?

2 years 前 | 0

| 已接受

已回答
can someone write the line code that checks if the image is rgb and convert it to gfrayscale
If you want a quick fix you can do the following: try rgb2gray(Image) catch disp("Error using rgb2gray") end or yo...

2 years 前 | 1

已回答
How to do math using datetime objects including years
date_obs = '22:179:18:42:44.610'; j2000date = '2000:001:12:00:00.000'; formatOut = 'uu:DDD:HH:mm:ss.SSS'; % ...

2 years 前 | 0

| 已接受

已回答
I want to use the two buttons and have the text field change once a folder is selected. Then have the figures and the jpg's save to those respective folders.
Add property variables properties JPEGSaveLocation MATLABFigureSaveLocation end add Callback to "JPEG Save Location...

2 years 前 | 0

| 已接受

已回答
I want to put multiple plots on a graph but be able to turn on and off the visibility for a few plots
Create a property variable properties p end Define that property value (do so in startup function or in callback functio...

2 years 前 | 0

已回答
Using mouse button to get lat long coordinates
the inputm function does not work with geoaxes. Try using ginput instead. [lat, long] = ginput(1);

2 years 前 | 1

| 已接受

已回答
How to use a edit box on a GUI
Add a callback to the ninth_button that reads the value in the 'eighth_button' edit field and places it as an input to the walk ...

2 years 前 | 0

| 已接受

已回答
Defining the Parent location of a UIAxes plot
remove ax = gca; %This creates a new axis when there isn't an axis in a figure window. Edit: This line isn't needed in for l...

2 years 前 | 0

| 已接受

已回答
Empty plot returning when I try to graph
%sigmayy along theta = 0 degrees for ii = 1:10; for jj = 1:10; x = ii/1000; y = (jj-500)/1000; xtip = x - ...

2 years 前 | 0

已回答
How do you apply an image threshold and track a centroid in a video?
You can use VideoReader. Here is an Example reading a video file. Edit: As for calculating the velocity, you can make your Ce...

2 years 前 | 0

加载更多