Respondida
Best tool to calculate the parameters of a custom equation fit
Have you tried using the Curve Fitting Toolbox? You can fit your custom equation to a set of data and it will provide you with t...

alrededor de 4 años hace | 0

Respondida
convert negatives matrix values to positive to then be used in mirroring for a plot on a graph
x0 = 0; y0 = 0; Sr = [x0 y0]; %Source coordinates SL = 220; %Source Level dB re 1uPa @ 1m (made up ...

alrededor de 4 años hace | 0

| aceptada

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

alrededor de 4 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...

alrededor de 4 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...

alrededor de 4 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...

alrededor de 4 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...

alrededor de 4 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.

alrededor de 4 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...

alrededor de 4 años hace | 0

Respondida
Remove excess delaunay triangulation
See answer here.

alrededor de 4 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...

alrededor de 4 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...

alrededor de 4 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...

alrededor de 4 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...

alrededor de 4 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 ...

alrededor de 4 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

alrededor de 4 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.

alrededor de 4 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...

alrededor de 4 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. ...

alrededor de 4 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(...

alrededor de 4 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); ...

alrededor de 4 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...

alrededor de 4 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...

alrededor de 4 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 ...

alrededor de 4 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 ...

alrededor de 4 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(...

alrededor de 4 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...

alrededor de 4 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...

alrededor de 4 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...

alrededor de 4 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...

alrededor de 4 años hace | 0

Cargar más