Respondida
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 = ...

más de 3 años hace | 1

| aceptada

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

más de 3 años hace | 0

| aceptada

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

más de 3 años hace | 0

| aceptada

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

más de 3 años hace | 0

| aceptada

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

más de 3 años hace | 0

| aceptada

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

más de 3 años hace | 1

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

más de 3 años hace | 0

Respondida
Remove excess delaunay triangulation
See answer here.

más de 3 años hace | 0

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

más de 3 años hace | 0

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

más de 3 años hace | 0

| aceptada

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

más de 3 años hace | 0

| aceptada

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

más de 3 años hace | 1

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

más de 3 años hace | 0

| aceptada

Respondida
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

más de 3 años hace | 0

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

más de 3 años hace | 0

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

más de 3 años hace | 0

| aceptada

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

más de 3 años hace | 1

| aceptada

Respondida
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(...

más de 3 años hace | 0

| aceptada

Respondida
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); ...

más de 3 años hace | 0

| aceptada

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

más de 3 años hace | 0

| aceptada

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

más de 3 años hace | 1

| aceptada

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

más de 3 años hace | 0

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

más de 3 años hace | 0

| aceptada

Respondida
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(...

más de 3 años hace | 0

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

más de 3 años hace | 0

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

más de 3 años hace | 1

| aceptada

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

más de 3 años hace | 0

| aceptada

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

más de 3 años hace | 0

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

más de 3 años hace | 0

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

más de 3 años hace | 3

| aceptada

Cargar más