Answered
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 years ago | 1

| accepted

Answered
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 years ago | 0

| accepted

Answered
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 years ago | 0

| accepted

Answered
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 years ago | 0

| accepted

Answered
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 years ago | 0

| accepted

Answered
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 years ago | 1

Answered
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 years ago | 0

Answered
Remove excess delaunay triangulation
See answer here.

3 years ago | 0

Answered
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 years ago | 0

Answered
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 years ago | 0

| accepted

Answered
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 years ago | 0

| accepted

Answered
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 years ago | 1

Answered
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 years ago | 0

| accepted

Answered
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 years ago | 0

Answered
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 years ago | 0

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

3 years ago | 0

| accepted

Answered
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 years ago | 1

| accepted

Answered
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 years ago | 0

| accepted

Answered
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 years ago | 0

| accepted

Answered
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 years ago | 0

| accepted

Answered
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 years ago | 1

| accepted

Answered
How to extract specific data from data files?
data = [111 135 134 111 143 176 111 124 187 222 ...

3 years ago | 0

Answered
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 years ago | 0

| accepted

Answered
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 years ago | 0

Answered
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 years ago | 0

Answered
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 years ago | 1

| accepted

Answered
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 years ago | 0

| accepted

Answered
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 years ago | 0

Answered
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 years ago | 0

Answered
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...

4 years ago | 3

| accepted

Load more