Community Profile

photo

John F


Last seen: nästan 2 år 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,......

nästan 2 år 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...

nästan 2 år 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...

nästan 2 år 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...

nästan 2 år 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...

nästan 2 år 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...

nästan 2 år 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...

nästan 2 år 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...

ungefär 2 år 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...

ungefär 2 år 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...

ungefär 2 år 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');

ungefär 2 år 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...

ungefär 2 år 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...

mer än 2 år 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_...

mer än 2 år 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 ...

ungefär 3 år 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 ...

ungefär 3 år 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 = ...

mer än 3 år 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...

mer än 3 år ago | 1 answer | 0

1

answer