Answered
Why is MATLAB giving me the wrong Bode phase plot?
The Bode Phase plot which you got is correct because the transfer function is written as G=(-100)/((1+jw)(1+(-1)jw)) When you...

4 years ago | 0

Answered
Set New Static IP on Raspberry Pi
Hi Mathew, You can refer to the below link which points to a similar question answered by MathWorks Support Team and go throug...

4 years ago | 0

Answered
raspberry pi cameraboard not working with simulink
Hi Steffen, You can refer to the below link which points to a similar question answered by MathWorks Support Team and go throu...

4 years ago | 0

Answered
how to remove the error
Hi Yusuf As you mentioned error in fminbnd (line 233) x= xf; fx = funfcn(x,varargin{:}; probably you would have got error m...

4 years ago | 0

Answered
IP camera connection Error
The first input argument to “ipcam” function is URL. The URL is made up of the IP address of the camera, followed by a video fi...

4 years ago | 0

Answered
Problem with creating Protected Model - "### Failed to generate all binary outputs."
Assuming that there is a problem while creating Protected model, you can follow the below documentation for how to create protec...

5 years ago | 0

Answered
How to display the results of a for loop
As mentioned above the variable “card” is a scalar. To display the results of for loop you can create a Null vector and append...

5 years ago | 1

Answered
Want to discret a simscape model (want to have fixed stepsize). It's not work. I sit more then 4 days on the problem, but can't fixed.
You can try by changing the “Solver selection” in “Configuration parameters” to “fixed-step/variable-step”and selecting “discret...

5 years ago | 0

Answered
How can I specify AWGN block in SIMULINK?
You can specify “Number of bits per symbol” and “symbol period” as you mentioned above by having M, Fs variables in MATLAB works...

5 years ago | 0

| accepted

Answered
Use standardized oder unstandadized input matrix X for silhouette plot?
You can provide either standardized or unstandardized matrix as input to the silhouette plot. You can also refer to below docume...

5 years ago | 0

| accepted

Answered
Using FFT, I want to plot a Magnitude Frequency Characteristic of a Digital FIR filter.
You can get Magnitude plot by running the below code clc; clear all; b0 = 0.25; b1 = [4 3 2 1]; b = conv(b1,b0); freqz(b,...

5 years ago | 0

| accepted

Answered
While observing output from general scope and time scope in simulink, time scope give output linearly increasing but in actual scenario data is in hold state, while general scope gives correct data i.e data is in hold state.(image is attached below)
The “Time scope” block is optimized for discrete time processing while the “scope” block is optimized for general time-domain si...

5 years ago | 0

| accepted

Answered
Can someone help me on how to read a text as string in matlab to be used as input data to AES algorithm
I gave some strings of words as input and it’s working. For example text_in=(‘I love MATLAB’) and remaining steps as mentione...

5 years ago | 0

Answered
Data logging to workspace using to workspace block in fast restart mode
Hi Muhammad, You can follow the below steps to access results of a simulation of a model with “to workspace “block in fast rest...

5 years ago | 0

Answered
How do I create an FBMC signal and then plot its BER
Hi William, You can refer the below documentation for how to create an FBMC signal and plot its BER https://www.mathworks.com/...

5 years ago | 0

Answered
How to solve "Error using eval undefined function workspacefunc' ?
Hi Damien, Have a look at similar question: https://www.mathworks.com/matlabcentral/answers/307356-why-does-matlab-return-an-e...

5 years ago | 0

| accepted

Answered
SOC Constraint in cplexmiqcp
You mentioned that your code is working fine for I=0 but when I tried with I=0, I got the error: Unable to perform assignmen...

5 years ago | 0

Answered
When writing in an already existing table - JDBC driver error relation already exists
Try the example mentioned in the Documentation provided in the below link https://www.mathworks.com/help/database/ug/database....

5 years ago | 0

| accepted

Answered
How to use AD9361 TX RF block set in Simulink
The “External LO” block is use to add noise on the LO signal of 2GHz specified in the “ad9361_tx” block mask, while the “Ideal S...

5 years ago | 0

| accepted

Answered
Send and Change CAN messages periodically
In Simulink using Vehicle Network Toolbox you can use “CAN Pack” block as it loads signal data into a message at specified inter...

5 years ago | 1

Answered
why need signal conversion to assign a signal line?
The ability to associate outputs of a “Demux” Block (containing multiple outputs) with “Simulink.Signal” objects is not availabl...

5 years ago | 0

| accepted

Answered
inset of matlab figure inside the figure doesnot show new axes label
When using multiple axes in a figure return the Axes objects as hAx1,hAx2 hFig=figure (3) hAx1=axes(‘Parent’,hFig) plot(hA...

5 years ago | 0

| accepted

Answered
Simulink link external devices fail
'Unable to connect to the 'Simulink Desktop Real-Time' target for 'voltage_2015a'. It means the connector you are using is not ...

5 years ago | 0

Answered
can I use satellite trajectories in the Sensor Fusion and Tracking Toolbox?
You can refer to below documentation for creating trajectories using Phased array toolbox https://www.mathworks.com/help/phase...

5 years ago | 0

Answered
Index exceeds the number of array elements error and interp1
[x, index] = unique(x); When you use “unique” function as above, the "index" stores the indices of the unique elements that are...

5 years ago | 0

Answered
How to create a custom SIMULINK library block from legacy_code tool programmatically?
You can refer to below documentation for how to design and create custom block https://www.mathworks.com/help/simulink/ug/tutor...

5 years ago | 0

Answered
How can I receive http audio streams in Matlab?
Assuming you need to Process Audio file in your Simulink model: The “From Multimedia File” block accepts the audio files wh...

5 years ago | 0

Answered
May I know how can I Create the active rectifier with constant load?
Hi You can refer the following document to create active rectifier https://www.mathworks.com/help/physmod/sps/powersys/ref/ac...

5 years ago | 0

Answered
Detect multiple USB cameras
Hi; You can follow the below steps for MATLAB to detect multiple cameras 1.first you connect single camera and execute ...

5 years ago | 0