Risposto
How can i import a signal and make its frequency as an input parameter.
Your data has 101 points (or 100 intervals). The period of the signal is 1/F, where F is your frequency. So you need to do Data...

quasi 6 anni fa | 0

Risposto
How am I using set wrong?
setfield(foo,'fieldName1',bar.fieldName2)

quasi 6 anni fa | 0

| accettato

Risposto
How to set value of Simulink Rocker Switch from Matlab
This is a Simulink Dashboard block. It needs to be "binding" with another block. Add a Constant block of value "1". Bound the R...

quasi 6 anni fa | 0

| accettato

Risposto
Simulink Block vs Simulink Model
A Simulink model is made from Simulink blocks. The sum of all its Simulink blocks plus something else (configurations, parameter...

quasi 6 anni fa | 1

Risposto
Compare data at consecutive timesteps during runtime in Simulink
Use a Unit Delay block, the input is altitude, the output is the "previous value" of the altitude.

quasi 6 anni fa | 0

| accettato

Risposto
Testsuite for Matlab 2011b?
For many common cases, using the Signal Builder block to provide the testing signals/vectors is sufficient. You can create multi...

quasi 6 anni fa | 0

| accettato

Risposto
License problem on my account
check your eligibility https://www.mathworks.com/products/matlab-online.html#license-types

quasi 6 anni fa | 1

Risposto
Sending Live Simulink Values To Gui
Instead of creating your own GUI, I would suggest using the Simulink Dashboard Blocks. https://www.mathworks.com/videos/dashbo...

quasi 6 anni fa | 1

Risposto
how to change suddenly dropping output by a gradually dropping output?
The Rate Limiter block is usually used for this. It is used to generate a slope after (not before) the falling or rising edge. B...

quasi 6 anni fa | 0

Risposto
Extract a single signal from signal array
Use the Selector block from Signal Routing library. Click Help to find example models.

quasi 6 anni fa | 0

Risposto
What does M([1:1 2:3], [1:0 2:3]) mean?
First, run this line by line in Command Window to figure out what it does 1:5 1:0.5:3 5:-1:1 Then understand that [1:1 2:3] ...

quasi 6 anni fa | 0

Risposto
How can I concatenate these two arrays in this manner?
C=[A;B]; C=C(:)';

quasi 6 anni fa | 0

Risposto
Can MATLAB code in an M-file successfully call slCharacterEncoding() without a Simulink license?
Seems Yes. >> license inuse matlab >> slCharacterEncoding() ans = 'windows-1252' >> license inuse matlab

quasi 6 anni fa | 0

Risposto
R2020a Update 4 does not work
Your update is not installed. Should look like this: >> ver matlab -----------------------------------------------------------...

quasi 6 anni fa | 0

Risposto
Error using cellstr. Shows error for element that doesn't exist.
I can duplicate the error using this simple example. So the problem is TblAllInfo{1,2}. It is the 154th element. It is not a cha...

quasi 6 anni fa | 0

Risposto
Asynchronous function-call Initiator
The functon-call trigger port needs to be connected with a function-all signal, usually from a function-call generator block. Do...

quasi 6 anni fa | 0

Risposto
MATLAB Borrow License Without Network
Yes, there is such a capability built-in. You need to contact your network license administrator to see if it is enabled though....

quasi 6 anni fa | 0

Risposto
How to update "hidden" param in standalone reference configuration?
You need to open the data dictionary and change this parameter in the saved reference configuration directly.

quasi 6 anni fa | 0

Risposto
Setparam on a nested block
There is no limitation regarding how deep can you go to reference the block. The only thing that might prevent you from doing th...

quasi 6 anni fa | 0

Risposto
MATLAB 2020a and prior versions generate pcode warning
Someone must have modified and saved the ver.m file by mistake. ver.m and ver.p are built-in files and shouldn't be modified. Re...

quasi 6 anni fa | 0

Risposto
Contributors metainfo: reputation and more
Congratulations to Walter Roberson for surpassing 100,000 points! I still don't think that it is possible.

quasi 6 anni fa | 1

Risposto
Run 2016a but have 2014a as well for older software?
You can have multiple versions of MATLAB installed. They don't interfere with each other. So go ahead and install as many versio...

quasi 6 anni fa | 0

Risposto
Add Second Axis Manually
plot(1:10); yyaxis right;

quasi 6 anni fa | 0

| accettato

Risposto
create a vector of 0 and 1s that takes 1 at a fixed interval
m=2; N=100; a=zeros(1,N); a(m+1:m+1:N)=1

quasi 6 anni fa | 0

| accettato

Risposto
Error with using sprintf
>> a={'abc'} a = 1×1 cell array {'abc'} >> sprintf('%s',a) Error using sprintf Function is not defined for 'cell' in...

quasi 6 anni fa | 0

| accettato

Risposto
Simulink online not available?
check your eligibility at Simulink Online

quasi 6 anni fa | 0

Risposto
How to use different sampling times for 2 blocks in the same simulink model?
It looks like a MATLAB Function block. Right click it, select "Block Parameters (Subsystem)", specify sample time as 0.1. You mi...

quasi 6 anni fa | 0

| accettato

Risposto
How to resolve issue of finite derivative after some time interval in simulink
You have a division block prior to the Integrator block. Can you check to see if you have a "divided by zero" problem? What is t...

quasi 6 anni fa | 1

Risposto
Why the function that I created won't be called?
Your function "relaxed" does not have any return values so you can't do "A=relaxed" because "A" can't be assigned. That is the e...

quasi 6 anni fa | 0

Risposto
Using a function_handle 'variable' from workspace in simulink
function handle is not supported by Simulink. Run "showblockdatatypetable" "I want to change the whole function without opening...

quasi 6 anni fa | 1

| accettato

Carica altro