photo

Alex Alex


Last seen: 1 year ago Active since 2021

Followers: 0   Following: 0

Statistics

  • 3 Month Streak
  • Knowledgeable Level 2
  • First Answer

View badges

Feeds

View by

Answered
Is there a mechanical rotational to mechanical translational converter block in Simscape?
Simscape/Driveline/Gears/Rotational-Translational its not for you? Matlab verson?

2 years ago | 0

Answered
How to obtain union of three shapes given the coordinates
may be command "polyxpoly" help you [xi1,yi1] = polyxpoly(circ(:,1), circ(:,2), R1(1,:), R1(2,:)) [xi2,yi2] = polyxpoly(circ...

3 years ago | 0

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...

3 years 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 ...

3 years 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...

3 years 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

3 years ago | 0

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

3 years ago | 0

| accepted

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.

3 years ago | 0

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

3 years ago | 0

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

3 years 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 years 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

3 years 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?

3 years ago | 0

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

3 years ago | 0

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

3 years ago | 0

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

3 years ago | 0

| accepted

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

4 years 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...

4 years 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...

4 years 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

4 years 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

4 years 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...

4 years ago | 1

| accepted