Community Profile

photo

Ryan Rizzo


Last seen: ongeveer 4 jaar ago Active since 2018

Statistics

  • Thankful Level 2
  • Thankful Level 1

View badges

Content Feed

View by

Question


Plotting decision boundary of logistic regression in MATLAB
I am running logistic regression on a small dataset which looks like this: After implementing gradient descent and the cost f...

bijna 5 jaar ago | 0 answers | 0

0

answers

Question


fminunc stopped because it cannot decrease the objective function along the current search direction.
I am trying to using `fminunc` top obtain the optimal theta in logistic regression, however I keep getting that: fminunc stopp...

bijna 5 jaar ago | 4 answers | 0

4

answers

Question


How to plot decision boundary for logistic regression in MATLAB?
I am trying to run logistic regression on a small data set. I present the full code below: %% Plotting data x1 = lin...

bijna 5 jaar ago | 2 answers | 0

2

answers

Question


Discrepancy between MATLAB and Simulink closed loop response?
I have a closed loop system which I am testing in MALTAB and Simulink, expecting the same output. **MATLAB** num_plan...

ongeveer 5 jaar ago | 0 answers | 0

0

answers

Question


SIMULINK - Designing an observer to estimate all states resulting in solution singularity
I am trying to design a Luenberger observer such that with one sensor available I can estimate all the states. My system is 4...

meer dan 5 jaar ago | 0 answers | 0

0

answers

Question


Error in port widths or dimensions. Invalid dimension has been specified for input port 1
I have an issue with my Simulink model which is: Upon running, this model works as expected, giving the right outputs. H...

meer dan 5 jaar ago | 0 answers | 0

0

answers

Question


Deep Learning Semantic Segmentation Example
In order to familiarize myself with semantic segmentation and convolutional neural networks I am going through this tutorial by ...

meer dan 5 jaar ago | 0 answers | 0

0

answers

Question


Simulating a non linear model in Simulink
I am trying to model the non-linear system. System Equations in Vector format: Physical Parameters: where x01, x02 an...

meer dan 5 jaar ago | 0 answers | 0

0

answers

Question


State Space Block giving Dimensions of arrays being concatenated are not consistent.
I have a state space block in Simulink as follows: A = [0 1 0 0 0; 1.8 -0.02002 -2 -0.00002 0; 0 0 0 1 0; 10 0.0001 -10 -0.00...

meer dan 5 jaar ago | 0 answers | 0

0

answers

Question


How can I create a pixel labelled image for Semantic Segmentation?
I am following the Semantic Segmentation Examples tutorial by MathWorks. I understand that I can load pixel labeled images ...

meer dan 5 jaar ago | 0 answers | 0

0

answers

Question


Simulink cannot determine sizes and/or types of the outputs for block 'MATLAB Function'
I have a small Simulink model as follows: and the resepctive code: function [xdot,y] = fcn(x,u) % define your con...

meer dan 5 jaar ago | 1 answer | 0

1

answer

Question


How to solve parametric simultaneous equations in MATLAB?
I have three parametric simultaneous equations as follows: I*R + L*s*I + a*s*Y - V = 0 B*I + m*s^2*Y - k2*X + k2*Y -...

meer dan 5 jaar ago | 1 answer | 0

1

answer

Question


Try - Catch Exception handling routine
I am trying to handle exceptions gracefully such that when a user enters a character, when an number is expected, he is notified...

bijna 6 jaar ago | 1 answer | 0

1

answer

Question


Simulink does not support loading the input data in file
I have a 1x1000 matrix named inputsignal.mat. It is saved in version 7.3. I am trying to view the signal using a scope on Sim...

ongeveer 6 jaar ago | 0 answers | 0

0

answers

Question


Simulink does not support code generation issue.
I am trying to replace a 3-point summing block with a function block. First I started by placing the code inside the functio...

ongeveer 6 jaar ago | 0 answers | 1

0

answers

Question


Plotting a second order system using ode45()
The system I am modelling is a spring-mass-damper where m is mass, k is spring stiffness and c is the damping coefficient. <...

ongeveer 6 jaar ago | 2 answers | 0

2

answers

Question


Plotting 2D graph problem with x-axis spacing.
I want to plot y = 2*exp((t.^2/)2) in MATLAB in the range of 0 to 3. I can't seem to get the vector length correctly and getting...

ongeveer 6 jaar ago | 1 answer | 0

1

answer