IronicCompound

u/IronicCompound



r/matlab•

I have 4 equations which relate 10 symbols (call them x_1, ..., x_10).

I want to solve for x_1 and x_2 in terms of symbols x_6, ... , x_10. That is, I want to eliminate x_3, ... , x_5.

The best I can do is use the following code to solve for x_1 and x_2 in terms of x_4, ... , x_10. I can't figure out how to also eliminate x_4.

syms Q_i Q_1 Q_o H_1 H_2 A_1 A_2 R_1 R_2 s

eqns = [H_1 - H_2 - R_1 * Q_1, H_2 - R_2 * Q_o];

[H_1, H_2] = solve(eqns, H_1, H_2);

Q_i = Q_1 + A_1 * s * H_1

Q_o = Q_1 - A_2 * s * H_2

By my description above, Q_1 is x_4, and I can't get rid of it, since this results in:

Q_i =

Q_1 + A_1*s*(Q_1*R_1 + Q_o*R_2)

Q_o =

Q_1 - A_2*Q_o*R_2*s

Any idea

85






I type for about 10 hours per day (with breaks of course). I have a wrist rest and mouse rest, but my RSI makes my forearms and hands numb. Unfortunately I work in a controlled environment so I'm stuck with the keyboard they give me. By the afternoon, I'm typing at half the rate I do in the morning. When I get home and start working on my own projects, I'm really slow. What other things do you do to mitigate RSI?

930

r/UCONN•

Should honestly get people together to sleep in cars in the parking services parking lot to protest. There just aren't enough spaces in lots for students who paid for them.

"Buy a pass for a chance to not get a ticket. Can't find a space at midnight and can't afford risking a ticket even though you already paid for a pass? Better drive around all night making the roads unsafe with your sleep-deprived ass."

5812