Answered
how run generated code from apps
You would want to save the code as a .m file. Then you can call the function with this line: createFit(close) Where close is y...

ongeveer een jaar ago | 0

| accepted

Answered
In following plots, how can we measure intersect points?
for y=0.1:0.1:0.3 G=[]; B=[]; for a=1:1:100 z=0.3; x=y+sind(a); G=[G x]; b=z+...

ongeveer een jaar ago | 1

| accepted

Answered
Can't understand you I'm getting this error when using a for loop to add two arrays
One of you variables (P_Pa, p_Pa, or q_Pa) only has one row. So, when you iterate with the for loop, you get an error when i = 2...

ongeveer een jaar ago | 2

Answered
Changing the number of rows in a vector by adding repeated rows
V = rand(76,3); V1 = zeros(1064,3); V1(1:76,:) = V; for ii=1:13 index = randperm(76); V1(76*ii+1:76*ii+76,:)= V...

ongeveer een jaar ago | 0

Answered
How to save the edited value inside the excel .xlsx file?
Please see app attached. I added filename as a property variable and then added the following: For the Save callback, I added:...

ongeveer een jaar ago | 0

| accepted

Answered
How can I extract a specific time for a "datetime" table?
load('RESULT.mat') result result.HourSeries = datetime(result.HourSeries,"Format","HH:mm") index = hour(result.HourSeries)=...

ongeveer een jaar ago | 1

| accepted

Answered
how to set different axis value?
xylim = 0.0055 ; N = 5; x = linspace(-xylim,xylim,N); y = x; [X,Y] = meshgrid(x,y); r = (X.^2 + Y.^2); rho = s...

ongeveer een jaar ago | 1

| accepted

Answered
finding slope of the graph
I would suggest using the Curve Fitting Toolbox.

ongeveer een jaar ago | 0

Answered
How to load the images using the code approach
1. properties folder filename end % Call back for pushbutton to load image [app.filename, app.folder] = uigetf...

ongeveer een jaar ago | 1

| accepted

Answered
Hi, I am coding something in the app designer. I have tried it a test script and it worked fine but when coding into the app, there seems to be an error . Please Help !
You were not defining your property variables unless the editfields were changed. I added a startup function that pulls the valu...

ongeveer een jaar ago | 0

| accepted

Answered
How to use tree function from App designer to trigger a map/plot on and off
Have you tried cla? You can obtain this information from the axes handle. See below. Notice handle is saved as variable h. Us...

meer dan een jaar ago | 0

Answered
I have a problem with solve command
The format you are using is no longer supported. Please see documentation for solve. syms x syms y syms z [x,y]=solve(3.*x-...

meer dan een jaar ago | 0

| accepted

Answered
the code for a button to dilate and erode the browsed image
tala, Please see the app attached. Let me know if this example answers your question.

meer dan een jaar ago | 0

Answered
App Designer: Multiwindow Apps Issue
Instead of deleting an app, I just make the uifigure invisible, so that I can keep each app's property variables. You can downl...

meer dan een jaar ago | 0

Answered
Help with Simplifying repetitive code
If you have your variables as columns in a table, you could do something like this: t=table; t.RIC = rand(14,1); t.RLT = rand...

meer dan een jaar ago | 0

Answered
How to create two-dimensional boxplots
x = rand(1,30); y = rand(1,30); tiledlayout(1,2) nexttile scatter(x,y,'filled','r'); nexttile boxchart(median(y)*ones(size...

meer dan een jaar ago | 0

| accepted

Answered
Matrix processing problem; creating new matrix
matrix = [0 0 0 0 0 1 0 1 0 0 1 0 1 0 0 0 1 0 0 1 0 0 0 1 0 1 0 0 0 1 0 0 1 0 0 0]; if matrix(1,1) output1 =...

meer dan een jaar ago | 0

| accepted

Answered
How can i transfer data from Matlab to Excel?
If you have data in a UITable and want to save it to a spreadsheet, you could create a callback function for a pushbutton to sav...

meer dan een jaar ago | 0

Answered
Why the result does change when ı add other rows in Matrix?
It is giving the correct result. It is just rounded. I changed format to long below. l_1=600; A= 48.6; K = [12, 6*(l_1), -1...

meer dan een jaar ago | 1

| accepted

Answered
so in appdesigner im building a list box to turn the image to (red ,blue ,green) this is my code for it bout it wont run
Based on the red squiggly line under Methods in your screenshot, you may have an extra "end" in your code.

meer dan een jaar ago | 0

Answered
how can I plot an increase and decrease in tempearture as x-axes (i.e. from 25 to 700, 700 to 500 all on x-axes), agains different y-axes
Did you want something like this? load A yyaxis left plot(A.T_bred,A.O2); yyaxis right plot(A.T_bred,A.CO2);

meer dan een jaar ago | 0

Answered
How to generate the hsv cone graph using Matlab?
Here is a starting point. I made some modifications from this code: https://stackoverflow.com/questions/3339692/modeling-hsv-co...

meer dan een jaar ago | 1

Answered
Hue in HSV Color Space
The max angle is 360 degrees. So, divide your angles by the maxium value to obtain a fraction of 1. [0, 90, 180, 270]/360

meer dan een jaar ago | 0

| accepted

Answered
Why I can't add a new property?
You can add a property by clicking "Property" on the toolstrip under the Editor tab within App Designer.

meer dan een jaar ago | 1

| accepted

Answered
I need help with this app designer code
Place an end after your switch case.

meer dan een jaar ago | 0

Answered
Please help, I don't understand the error. How I can make it correct?
The line here need to be fixed: ndataSIR=20*[0 randn(0,width,[1,numpts]); 0 randn(0,width,[1,numpts]); 0 randn(0,width,[1,nump...

meer dan een jaar ago | 0

Answered
How to perform inverse between a page of a 3D matrix and a column vector without loops?
load H.mat load A1.mat size(H) size(A1) answer = H.\A1; size(answer)

meer dan een jaar ago | 0

Answered
CSV or XLSX to write data
CSV would be faster.

meer dan een jaar ago | 0

Answered
how can I add noise to an image using the Slider
See app attached. Let me know if you have any questions.

meer dan een jaar ago | 0

| accepted

Load more