Answered
Simulink: 2001x1 Double input multiplication with clock value, results in 2001x2001 double, while a 2001x1 double is desired. How can I tackle this?
In your model, the clcok time is getting multiplied with each element of a vector, that's why "Why" and "Why2" are 2001*2001 vec...

3 years ago | 0

Answered
How to write lat,lon,data into geotiff with matlab?
You can refer to a similar question answered here. The provided solution makes use of georasterref and geotiffwrite function to ...

3 years ago | 0

Answered
Model workspace input data from functions
You can use a Simulink.ModelWorkspace object to Interact with the model workspace of a model programmatically. You can refer to...

3 years ago | 0

Answered
How to save the images from the camera calibration app after the app plot the circles on the edges?
Currently you cannot save the images with detected edges in the Camera Calibrator App. As a workaround, you can use detectCheck...

3 years ago | 0

| accepted

Answered
How to manually edit MatLab Coder .mex-file code to support 64bit indexing
Currently MATLAB Coder supports only upto 2^32 elements in an array. So you will need to manually change the codein C/C++ file...

3 years ago | 0

| accepted

Answered
how to plot four different variables sharing same axis but with different x and y axis limits
You can refer the following code snippet which sets and uses multi-row tick labels to resolve your problem. close all; % Da...

3 years ago | 0

Answered
How to use WindowButtonMotionFcn correctly in App Desinger?
To port the MATLAB code to App Designer code, a bit of restructuring of code should be done to take advantage of App Designer fe...

3 years ago | 1

Answered
Driving Scenario Designer: How to make EgoVehicle Stop using Camera or Radar
You can refer to the Autonomous Emergency Braking with Sensor Fusion example to learn about simualting emergency breaking scenar...

3 years ago | 0

Answered
stop training model in matlab
You can use trainingOptions function (network training options) to specify the maximum number of epochs (10) using the 'MaxEpoch...

3 years ago | 0

Answered
Save data during matlab loop
As the data is numeric/boolean, I would suggest that you to write the data at every step or periodically to a file (say a CSV fi...

3 years ago | 0

Answered
Color on Bar3
You can use colorbar function to have the same color on all the faces of the 3D bars as demonstrated by the following code snipp...

3 years ago | 0

Answered
Buckle counting in image processing
You can refer the following code snippet to count the approximate number of number of buckles using bwlabel function: % Read im...

3 years ago | 0

Answered
Running external commands without going through a shell?
You can execute operating system commands from the MATLAB command line using the ! operator as an alternative to the system func...

3 years ago | 0

Answered
How to change the imds.Lables to the subfolders names instead of the parent folder ?
While creating the ImageDataStore, use the following Name-Value pair option: imds = imageDatastore('ParentFolder/','IncludeSubF...

3 years ago | 0

Answered
thermal noise object RFbudget
You can use Receiver Thermal Noise block from Communication Toolbox to specify and simulate addition of different thermal noise ...

3 years ago | 0

Answered
RC circuit modeling in Simulink
If your end goal is to design an RC vircuit in Simulink, you don't require RF blockset for that. You can refer to the example w...

3 years ago | 0

Answered
Creating n number of tables using already present table in matlab
You can refer to the following code snippet to learn about extracting sub-tables based on conditions on the data in columns of m...

3 years ago | 0

Answered
How to create an image data store from a .mat file in order to use in network training?
You can refer to this answer which explains conversion of a set of .MAT files to imagedatastore.

3 years ago | 0

| accepted

Answered
How to change the position of a pictue in a figure with the mouse?
You can refer to the following code snippet that demonstrates the functionality where you can click on a picture of the chess fi...

3 years ago | 1

| accepted

Answered
Adding a third axis on the right side. Also scale the (blue) bars according to the third axis.
Currently, MATLAB does not have a built-in function for adding a third axis on the right side as you want to. You can refer to...

3 years ago | 0

Answered
App Designer Expected Input to be one of these types:
You are using an external toolbox called PLS_Toolbox that provides a function called "figbrowser". This toolbox adds the figbrow...

3 years ago | 0

Answered
PD controler matlab coding
As a beginner, you can refer to this webinar which starts with a quick theory primer on PID control and then introduces a simple...

3 years ago | 0

Answered
How to start a script in App designer and update a variable with slider ?
It’s not recommended to use variables from base workspace in App Designer Apps as base workspace variables could get modified by...

3 years ago | 0

Answered
How can I simulate adjacent channel interference in Simulink?
You can refer to the model which demonstrates simulation of Adjacent and Co-Channel Interference on a PSK modulated signal. To...

3 years ago | 0

| accepted

Answered
LIcense Manager Error-9
You can refer to an answer to a similar question in order to resolve your problem.

3 years ago | 0

Answered
C++ TO MATLAB
If your goal is to convert C++ code to MATLAB code, manual conversion is required. However, if you only need to call the C++ ...

3 years ago | 0

Answered
unable to connect FLIR Thermal ADK camera to MATLAB
You can refer to this answer to resolve your problem.

3 years ago | 0

Answered
Changing sample time, Ts of the examples under Simulink support package for parrot minidrones
You have changed the fixed-step solver’s step-size (system sample time) to be equal to 5 seconds, but the sample times for the b...

3 years ago | 0

Answered
How can I adjust the bit rate of a QAM signal in Simulink?
The data rate depends only on the rate at which the data is getting generated by a signal generator. For example, the data rat...

3 years ago | 0

| accepted

Answered
Stream Data from serial port device to screen
You can refer the guide about Serial Port Devices to learn about communicating between two MATLAB and devices connected to a se...

3 years ago | 0

Load more