已回答
Within a GUI created with App Designer can I call a function associated with one button inside the code for a different button?
When you create a new function, you can just call that function. function differentButton(app, event) EXIT(app) end

4 years 前 | 0

| 已接受

已回答
creating a multiple dimensional timetable
Yes, you can merge them into one timetable using innerjoin. The sensors can even have different sampling rates or have duplicate...

4 years 前 | 0

已回答
How can I create multiple arrays from 2 separate arrays?
Is this what you were trying to do? A = [1,3,5,7]; B = [2,4,6,8]; for i = 1:length(A) array(i,:) = A(i):0.1:B(i); end ...

4 years 前 | 1

| 已接受

已回答
Imported data becomes NaN
I would suggest using the Import Data button found on the toolstrip. After selecting the Excel spreadsheet to open, it should...

4 years 前 | 0

已回答
App Designer how to set value for edit field (numeric)
If the SecondWindow is an app that was called from the mainapp. You will need to call the property value from the mainapp. The c...

4 years 前 | 1

| 已接受

已回答
Button widening effect - app designer
I would recommend using grid layout and using a fixed size for segment containing your button.

4 years 前 | 0

已解决


Find the minimum of the column-maximums of a matrix
Given a matrix A, find the maximum value of each column, then return the smallest of those maximum values (ie return the minimum...

4 years 前

已解决


MATLAB Basic: rounding II
Do rounding nearest integer. Example: -8.8, answer -9 +8.1 answer 8 +8.50 answer 9

4 years 前

已解决


MATLAB Basic: rounding
Do rounding near to zero Example: -8.8, answer -8 +8.1 answer 8

4 years 前

已回答
Is it possible to use MatLab to make a interactive visualization?
Serhat, Please see the app and the Live Script attached. Let me know if that is what you were looking for. If you are look...

4 years 前 | 1

| 已接受

已回答
I would like to plot few values of a vector based on threshold setting from another vector.
x=[1 2 3 4 5 6 7 8 9 10]; y=[1 2 3 4 5 6 7 8 9 10]; x(y>3 & y<5) y(y>3 & y<5) figure plot(x(y>3 & y<5),y(y>3 & y<5),'r') f...

4 years 前 | 0

已回答
ROI in video using the first frame
Read video and have user define Circle ROI: v = VideoReader('xylophone.mp4'); frame = readFrame(v); imshow(frame) c = drawci...

4 years 前 | 3

| 已接受

已回答
if column 1 is nan, make corresponding number in column2 nan
Period = [1:1:100]'; F = [201:1:300]'; A=[Period F]; % a random matrix Data = A; percent_miss = 0.1; nTime = length(Period)...

4 years 前 | 0

已回答
Looking to identify a football from an image
RGB = imread('YourImage.png'); % Convert RGB image to lab space I = rgb2lab(RGB); % Apply thresholds BW = (I(:,:,1) >= 1...

4 years 前 | 1

已回答
Height of circular shape
You could use regionprops to find the major axis length. Or did you need the length of the object in the y-direction? What do yo...

4 years 前 | 0

| 已接受

已回答
How can I calculate a formula h(t)=4.0+6.0te^-0.5t-4.0e^-0.25cos(0.75pi.t)?
You need to make sure all terms that are multiplied use *. Also replace e with 10^ assuming the e is exponent notation. t = 1:1...

4 years 前 | 0

| 已接受

已回答
History of opened m-files
try open(fullfile(prefdir, 'matlab.prf'))

4 years 前 | 0

已回答
Customized Markers Edge and Face Colours of a scatter plot SEPARATELY
load hospital hospital x = hospital.Age; y = hospital.Weight; g = {hospital.Sex,hospital.Smoker}; h=gscatter(x,y,g,'gbmc','...

4 years 前 | 0

已回答
how to remove the tiny white pixels around the rectangles
Img = imread('originalImage.png'); imshow(Img) You can also filter based on area of objects Img = bwareafilt(imbinarize(Img),...

4 years 前 | 0

| 已接受

已回答
3 double images stored in a matrix
m1 = rand(256); m2 = rand(256); m3 = rand(256); size(m1) size(m1(:)) M(:,1) = m1(:); M(:,2) = m2(:); M(:,3) = m3(:); ...

4 years 前 | 1

| 已接受

已回答
How to implement tic, toc and pause in audioPlugins?
If you are trying to create a UI, you could create an app with App Designer as shown attached. Let me know if this addresses you...

4 years 前 | 0

已回答
Append data to 3rd dimension in loop
Assuming you have 68 files that are distinguished based on the year and the above is only looking at 33 of the files/years. 3D ...

4 years 前 | 0

| 已接受

已回答
I need help to execute a triple integral
Your value for xmax needs to be a floating-point array. syms s r m; fun = @(s,m,r)(r.*exp(-(s.^2/2+1.727*(m-5))))./(sqrt(r.^2-...

4 years 前 | 0

已回答
Read/write georeferenced image
Can you try this below? [A,R] = readgeoraster('input_image.tif'); O = A*2; %any operation you like info = geotiffinfo('input_...

4 years 前 | 0

| 已接受

已回答
How do you remove non-integer values from a colorbar?
Let's say this is an image with a colorbar with non-integer values: Img = randi(255,25); imagesc(Img) h=colorbar; h.Ticks = ...

4 years 前 | 1

已回答
How to work with the current point feature in app designer?
Please see the app attached with the script for the callback function. Let me know if this addresses your problem. Note, I also...

4 years 前 | 0

已回答
How to show data in a textField on app designer?
It should be app.TextArea.Value = "testing";

4 years 前 | 0

| 已接受

已回答
3D shape for rabbit
That is the Stanford Bunny. Available for download here: http://graphics.stanford.edu/data/3Dscanrep/

4 years 前 | 1

已回答
Trying to Customize a heatmap color bar and thresholds
m=30*rand(30)-15; surf(m,'FaceColor','interp') cmap = [1 0 0; 1 1 1;1 1 1; 1 1 1; 1 1 1; 0 0 1]; colorbar caxis([-15 15]) ...

4 years 前 | 0

| 已接受

已回答
How to change folders in MATLAB App Designer ?
pwd gives the present working directory. The code saves it as aux_dir. aux_dir = pwd The line below appends aux_dir with the s...

4 years 前 | 0

加载更多