Question

get user input in the form of an integer

I want to get user input in the form of an integer I cant beleive i have to go to the forum to find something so simple with ...

2 months ago | 1 answer | 0

Question

Difficulty with i2c Read Register. Not enough information in the doc

So i am working with an I2C device and reading in 8 bit register data The problem is the following. The doc does not allow fo...

3 years ago | 1 answer | 0

Question

Anyone know where this simulink block comes from? Not in my library

So i have a model block that the provider says is in the standard library. He was using an older version so perhaps there is a n...

3 years ago | 1 answer | 0

Question

Confusion with step response and laplace inverse

Hey all Im hoping someone can explain this This is fairly embarrassing i don't remember why this is not working out Sim...

3 years ago | 1 answer | 0

Question

Embarrassing Laplace question using ilaplace

I always get stuck using ilaplace And then 6 months goes by and i get stuck again because i don't use it often enough Im jus...

3 years ago | 2 answers | 0

Question

Arduino simulink problems seems to be a theme

So I'm trying to explore simulink and arduino a bit Just followed a basic example Cant get it to work I continue to get...

3 years ago | 2 answers | 0

Answered

Matrix dimensions must agree

Sorry i looked into it further. p2 and t2 are the same size the problem is r r is 1 by 301 p2 and t2 are 101X101

Matrix dimensions must agree

Sorry i looked into it further. p2 and t2 are the same size the problem is r r is 1 by 301 p2 and t2 are 101X101

3 years ago | 0

Question

rlocus showing overshoot, step showing none?

So i have a simple system more or less and rlocus when using the data point is showing overshoot of 13% however stepping the sy...

3 years ago | 1 answer | 0

Question

Symbolic solver help again

So i have had multiple issues with the solver getting different values because matlab has allowed so many intricacies with this ...

3 years ago | 1 answer | 0

Question

Polarplot plotting a single point not a line

Just like it says Polarplot is plotting only a single point when the doc clearly says it plots a line out from some theta and...

3 years ago | 1 answer | 0

Question

problem with subs function

I use this command daily and sometimes it works and sometimes i get an error. I am obviously not understanding the complexity...

3 years ago | 4 answers | 0

Question

simple complex plot of a few points

All i want to do is plot a few points on a complex plot aka the S Plane If i want to plot a single point at say -2 + 2*sqrt(3...

3 years ago | 1 answer | 0

Question

Help with symbolic toolbox

Struggling with symbolic toolbox again All i want to do is the following. I want to give it an equation called ess that has...

3 years ago | 1 answer | 0

Question

Serial rs232/422 500K baud in simulink real time

Hello For some time now i have been exploring the possibilities of streaming serial data in real time into matlab. I have a ...

3 years ago | 1 answer | 1

Answered

I can not solve a simple equation solve(sin(x)==1,x)

I am on 2016b i also received pi/2

I can not solve a simple equation solve(sin(x)==1,x)

I am on 2016b i also received pi/2

3 years ago | 0

Question

link data problem for a polar plot

I am essentially using the example from the doc nearly verbatim and can't get this to work Master is a matrix that is continuou...

3 years ago | 0 answers | 0

Answered

How to allow a Matlab GUI using guide to have access to serial port objects

Im going to answer my own question incase someone else needs this and how i fixed the issues Simply adding the following comm...

How to allow a Matlab GUI using guide to have access to serial port objects

Im going to answer my own question incase someone else needs this and how i fixed the issues Simply adding the following comm...

3 years ago | 0

| accepted

Question

How to allow a Matlab GUI using guide to have access to serial port objects

So i have a little gui running and appears to be working. However one of the buttons is setup to execute a function that involv...

3 years ago | 1 answer | 0

Question

If statement for a button push in matlab GUI using guide

Hey all Im pretty new at the matlab GUI game. Ive made a few simple ones using the guide before What I'm up to is the follow...

3 years ago | 1 answer | 0

Answered

Order of polynomial display: increasing order of powers?

Hey there So this is a bug in matlab I found the bug a few weeks ago and it should be fixed in the next release It turns ...

Order of polynomial display: increasing order of powers?

Hey there So this is a bug in matlab I found the bug a few weeks ago and it should be fixed in the next release It turns ...

3 years ago | 0

Answered

How to find the inverse transfer function of a system?

Well you have a lot going on. Do you understand the fundamentals of going back and forth between Transfer function and diffe...

How to find the inverse transfer function of a system?

Well you have a lot going on. Do you understand the fundamentals of going back and forth between Transfer function and diffe...

3 years ago | 1

| accepted

Question

More symbolic trouble substituting

Matlab will not substitute values as it is being instructed. syms s k e c r r = c + e e = ((2s^3+4*s^2+...

3 years ago | 1 answer | 0

Question

Matlab strikes again with missing functionality for bode plots

Per usual I'm spending my weekends fighting with software that has the functionality of a ti89 I would like to have a sliding...

3 years ago | 2 answers | 0

Question

More symbolic solver issues

Im really getting tired of matlab being shown up by wolfram alpha. A program designed for high school kids Very simple bit of...

3 years ago | 1 answer | 0

Question

multivariable Root Locus plots

I would like to get an Rlocus plot of a transfer function containing multiple variable. For the sake of the example we can ju...

3 years ago | 0 answers | 0

Question

Matlab printing and crashing mac 64 bit 2016b

This is complete lunacy. Matlab makes the simplest tasks unbelievably hard. I have no spent 3 hours trying to print out an ....

3 years ago | 1 answer | 0

Question

More laplace inverse problems

I can not get a distinct answer from the ilaplace function almost ever This is incredibly annoying. This transfer function i...

3 years ago | 1 answer | 0

Question

Coeffs functions needs revision

I have now spent half a day digging through piles of code because no one has apparently caught this before The coeffs functio...

3 years ago | 1 answer | 0

Question

Ramp/step response of LTI system not matching up

So i know this is a rather useless bunch of code but these two examples should match each other and they are not Obviously if...

3 years ago | 0 answers | 0

Question

Strange ilaplace answer?????

Obviously I'm doing something wrong here Why am i getting such a strange answer for an inverse laplace?? syms s tf = ...

3 years ago | 2 answers | 0