Community Profile

photo

John F


Last seen: 2 months ago Active since 2020

Statistics

  • Thankful Level 1

View badges

Content Feed

View by

Answered
Inserting Confusion Matrix and ROC plot in one figure
This is the solution I found % Plot the Confusion Matrix hold off f = figure(1); cm = confusionchart(targets,predictions,......

2 months ago | 0

| accepted

Question


Inserting Confusion Matrix and ROC plot in one figure
I am trying to plot a Confusion Matrix and a ROC plot in one figure but I can't seem to be able to get it to work. I used the so...

2 months ago | 1 answer | 0

1

answer

Question


Child item with an x position greater than its parent panel's width still appears inside it
I get the width of a panel in pixels like this: set(MyPanel,'units','pixel') pos = MyPanel.Position; set(MyPanel,'units','nor...

4 months ago | 0 answers | 0

0

answers

Question


Strange UI behaviour in App Designer
I am designing an app in App Designer but sometimes when I run the app the UI becomes broken (see first image) and I have to run...

4 months ago | 0 answers | 0

0

answers

Question


Update textarea when printing to the console
I have an app where I have setup a diary to store the outputs to the console to a file. In this app, I have a text area that I w...

4 months ago | 0 answers | 0

0

answers

Question


Get label name of item in dropdown menu
I have 2 dropdown menus that allow the user to select which variables to plot on a figure. I would like to also update the label...

4 months ago | 1 answer | 0

1

answer

Question


Convert variable-sized signal to fixed
I have a custom block (block on the right) that takes a fixed size signal, but I would like to adjust the size of the input sign...

4 months ago | 0 answers | 0

0

answers

Answered
Resizing grid layout doesn't work in maximized WindowState
Add "drawnow" at the beginning of the function like this: function startupFcn(app) drawnow fig_position = app.UIFigur...

5 months ago | 0

| accepted

Question


Resizing grid layout doesn't work in maximized WindowState
I have created an App using the "2-panel App with Auto-Reflow" template and I want to change the width of the 2 panels. Here's t...

5 months ago | 1 answer | 0

1

answer

Question


findall doesn't find axes object
I have an app that creates a TabGroup and inside it some tabs that contain a plot. If the specific tab exists, I would like to p...

5 months ago | 0 answers | 0

0

answers

Answered
Access simulink model's return values in App Designer
Use this when running the model: simout = sim(model,'ReturnWorkspaceOutputs', 'on', 'SaveFormat', 'Structure');

5 months ago | 0

| accepted

Question


Access simulink model's return values in App Designer
I have a Simulink model that when run either from the Simulink model or the Command Window returns some variables to the workspa...

5 months ago | 1 answer | 0

1

answer

Question


How to use setwb?
Say I have an already fully configured Neural Network net. I am trying to write the algorithm for the cascade k-fold cross valid...

9 months ago | 0 answers | 0

0

answers

Question


SIMULINK block accessing its parameters dynamically
I'm creating a SIMULINK Library and I have made the following component: And the function is: function [m_out, Pt_out, Tt_...

9 months ago | 0 answers | 0

0

answers

Question


Reverse geometric progression algorithm
I would like to have a set of points from -b to b using a geometric progression from dpB / 2 to b and mirroring the points with ...

1 year ago | 1 answer | 0

1

answer

Question


Simplify expression even further
When I run something like this: pretty(vpa(simplify(coef(2)),6)) I get something like this: 479 478 ...

1 year ago | 1 answer | 0

1

answer

Question


Symbolic function doesn't work
syms L alpha gamma Y2 Y3 Y4 Y5 Y6 x X dL T(L,x) syms T(L,x) M1 = 0; M2 = 7; Y1 = 1 + M2 / 10; Y7 = 3 + M1 / 10; xcp = ...

1 year ago | 0 answers | 0

0

answers

Question


Get differential equation of derivative
I have a differential equation that looks like this: dT/dx = (1+alpha*M1)*(T^2)*S(x) - 4*(2+gamma*M2)*x*T I want to differ...

1 year ago | 1 answer | 0

1

answer