답변 있음
Error using cdfplot in App Designer
cdfplot cannot accept app.UIAxes as the first input. Here is a workaround for using cdfplot in App Designer. f = ...

3년 초과 전 | 1

| 수락됨

답변 있음
How to reorder the Listbox data ?
The following code worked as a callback function for me. index_move = ismember(app.ListBox.Items, app.ListBox.Value...

3년 초과 전 | 0

| 수락됨

답변 있음
Creating a user interface that lets you choose which areas of atlas to be bright
Alexandar, I had a little fun and made you an app to help you get started. Please see the app attached. Load the ROI_MNI_V4.n...

3년 초과 전 | 0

| 수락됨

답변 있음
Find rising and falling point
Do you need to know how to find those points given the raw data in a single vector array? If so, see approach below. Find the...

3년 초과 전 | 0

| 수락됨

답변 있음
how can I plot a graph over an image in Matlab?
Load Example Image exampleimage = imread('peppers.png'); Flip the image vertically (y-axis direction will be flipped verticall...

3년 초과 전 | 0

| 수락됨

답변 있음
App designer tab groups insert a fig
Please see that attached app. Also see the example here. Let me know if these answer your questions.

3년 초과 전 | 1

답변 있음
How to use the same directory for all functions in app designer?
You could have the app load the directory files into a dropdown box after selecting a particular file as shown in the example at...

3년 초과 전 | 0

답변 있음
Remove excess delaunay triangulation
See answer here.

3년 초과 전 | 0

답변 있음
Refine delaunay triangulation mesh
I was able to increase the density using the subtri() function upload by Kevin Moerman to the File Exchange. ImgClosed = imread...

3년 초과 전 | 0

답변 있음
Convert table to array and back to table
A = randi([1 10],5,3) T = array2table(A,'VariableNames',{'Feet','Inches','Centimeters'}) Header = T.Properties.VariableNames...

3년 초과 전 | 0

| 수락됨

답변 있음
Saving data in excel from the plot using Appdesigner
Sushmita, Please see the app attached. Note, you can create a save button and then create a callback that calls the menu's sa...

3년 초과 전 | 0

| 수락됨

답변 있음
Checking if columns of matrix are equal to some array
T=5 data = randi([0 1],8,T) template = [0 0 1 0 0 0 1 0] data(:,4) = [0 0 1 0 0 0 1 0]; for t = 1:T test_column = dat...

3년 초과 전 | 1

답변 있음
Reading in excel file with multiple sheets into a cell array using readtable
You need to use curly brackets. Please see below. n=5; %no. of excel sheets excel_data=cell(n,1) %initialising the cell array ...

3년 초과 전 | 0

| 수락됨

답변 있음
app designer does not allow web app share
Do you have MATLAB Compiler install? If you have the license, you can install from the menu: Home->Add-Ons->Get Add-Ons

3년 초과 전 | 0

답변 있음
Plot data based on selection in list in appdesigner
Roman, Please see the app attached. I believe this should help. Let me know if you have any questions about the app.

3년 초과 전 | 0

답변 있음
3d object rotation
Keep you axes limits consistent. That should help when viewing. figure erad = 6000; prad = 6000; npanels = 180; hold on; a...

3년 초과 전 | 0

| 수락됨

답변 있음
Use table row as input for a new table
Are you starting off with vector arrays or tables? Note, below would also work if you used numeric values instead of strings. ...

3년 초과 전 | 1

| 수락됨

답변 있음
find the point of intersection of one curve with itselfs
x = [2 0 0 2 2 -1]; y = [4 4 0 0 2 2]; points = [x;y]; h=fnplt(cscvn(points)); plot(h(1,:),h(2,:));hold on, plot(points(...

3년 초과 전 | 0

| 수락됨

답변 있음
Save plotted lines in an matrix
You can save the plot and extract the XData and YData from it's subfields as shown below. [B,L,N,A] = bwboundaries(ImgClosed); ...

3년 초과 전 | 0

| 수락됨

답변 있음
Is it possible to plot patternCostums in appDesigner?
pattenCustom does not work with uiaxes. Try this workaround below. First create the diagram on an axes within a figure. Then...

3년 초과 전 | 0

| 수락됨

답변 있음
Outerjoin does not merge the keys
I joined the two tables, I got 2695 rows after eliminating PIBstatsinstitute from the keys. There are too many unique combinatio...

3년 초과 전 | 1

| 수락됨

답변 있음
How to extract specific data from data files?
data = [111 135 134 111 143 176 111 124 187 222 ...

3년 초과 전 | 0

답변 있음
Identifying a line in multiple plots
I made the app attached with App Designer. You could make a similar app to help you identify the selected lines. You can change ...

3년 초과 전 | 0

| 수락됨

답변 있음
How to draw a complicated graph
Z=1:100; Y=Z.^2; K=2; figure plot3(zeros(size(Z)),Z,Y,'k') hold on plot3(K*(ones(size(Z))),Z,Y,'r') line([0 K],[Z(1) Z(...

3년 초과 전 | 0

답변 있음
How can the major axis of a 3d object be determined?
You can figure out the orientation with regionprops3 assuming you have a 3D matrix of the model. Example: sample = zeros(100...

3년 초과 전 | 0

답변 있음
What is the difference between valuechangedfcn and valuechangingfcn?
Let's say it is a slider. "valuechangedfcn" would occur after you finished dragging the slider and let go on a new value. "value...

3년 초과 전 | 1

| 수락됨

답변 있음
I want to convert a single column of data from a .txt file as shown then operate on it by the script shown but I get error "left is 1x1 right is 1x243003"
I imported the data with the function attached and did not recieve an error. Fs = 100; t0 = 1/Fs; omega = importdata('testi...

3년 초과 전 | 0

| 수락됨

답변 있음
How to plot an square ?
If it is 4 intersecting square waves, you could do this: x = -10:0.001:10; pi plot(x,(pi/2)*square(x)) hold on plot(x,-(p...

3년 초과 전 | 0

답변 있음
How to plot a best fit curve to my data points?
If you have the Curve Fitting Toolbox, you can use the Curve Fitting app after you import your data into the workspace. Within t...

3년 초과 전 | 0

답변 있음
App Designer | hold on does not work as expected
I believe you need to specify the axes of your hold on. Please let me know if this works. hold(app.fullaxes,'on'); colormap(ap...

3년 초과 전 | 3

| 수락됨

더 보기