Community Profile

photo

Alex Alex


Last seen: Today Active since 2021

Statistics

  • 3 Month Streak
  • Knowledgeable Level 2
  • First Answer

View badges

Content Feed

View by

Answered
How can I change the upper case letters in a string to lowercase while also changing the lowercase letters to uppercase?
Try begin with this example clc clear a='Hello My BROthEr'; % text in one row for i=1:length(a)% cycle from 1 to size mass...

11 jours ago | 0

Answered
power and voltage unit of GUI is not working
Mb in formula used U^2. Lets try with R=1. P=(U^2)/R When U = 1 KV = 1000V => P = 1MW When U = 1 V = 1V => P = 1W ...

22 jours ago | 0

Answered
Bus signals from simulink functional block
look here https://www.mathworks.com/help/simulink/ug/create-structures-in-matlab-function-blocks.html https://www.mathworks.co...

28 jours ago | 0

Answered
How to output LoggedSignals in reinforcement learning simulations?
Try use combination "Ctrl+E" inopened model and select string Data Import/Export for setting output parametres

29 jours ago | 0

Answered
how to add parameter to workspace when load the simulink model
File - Model Properties - Model Properties - Callbacks - PreloadFcn/PostLoadFcn ???

environ un mois ago | 0

Answered
PID tunning at simulink block
Did you say "plant"? If you are using the simulink сo-simulation mode, I'm afraid no customization is possible.

environ 2 mois ago | 0

Answered
Delay block doesn´t work
Try fixed-step size or fixed max step size, but i agree, bad modeling

environ 2 mois ago | 0

Answered
Simulink crankshaft doesn't work properly. How can I fix it?
try and resistance and rotational damper....but it not end.....

2 mois ago | 0

| accepted

Answered
Change legend line position
https://www.mathworks.com/matlabcentral/answers/22203-multicolumn-legend?s_tid=srchtitle https://www.mathworks.com/matlabcentra...

3 mois ago | 0

Answered
How to plot 2 variable graph in simulink?
Use "plotyy" function or "yyaxis" example here https://www.mathworks.com/help/matlab/ref/plotyy.html

5 mois ago | 1

| accepted

Answered
How to solve two equations for four unknowns?
No options, the number of equations must be greater than or equal to the number of unknowns. Now 2<4?

5 mois ago | 0

Answered
Return the number of rows of an array
B=find(A<50)

6 mois ago | 0

Answered
ga is stopping after 1 or 2 iterations only
may be more iterations?

6 mois ago | 0

Answered
Legend combination problem! How to fix?
This is what you need?

8 mois ago | 0

| accepted

Answered
How to use time series signals from simulink to workspace in plot?
plot(y), plot(out.y), Something from this ?

10 mois ago | 1

| accepted

Answered
Find 2nd Minimum between Input Wheel Speed Signal
Try this code for "matlab function" block.It should work for the same values too and if wheel speed>0.This is not the best s...

10 mois ago | 0

| accepted

Answered
How do I make a Double-Acting Hydraulic Cylinder act in both directions in Simscape?
from help: Initial Conditions Tab Piston initial distance from cap A The distance that the piston is extended at the beginnin...

10 mois ago | 0

Answered
Get Numeric Values out of Text File
look here about "ZIP codes", maybe help https://www.mathworks.com/help/matlab/ref/extract.html

10 mois ago | 0

Answered
How to Control optimizaiton's variable changing step
Try to create a nonlinear constraint function that selects only integer values of the variables being optimized

10 mois ago | 1

Answered
Code outputs correctly once, but gives an error message when I try to output a second time.
I think that just in the workspace there was an array a, which has different dimensions with arrays x1 and x2. Use the clear com...

10 mois ago | 1

| accepted