Answered
All discrete sample times in your model must be an integer multiple of the local solver sample time.
Simulating a discrete system requires that the simulator take a simulation step at every sample time hit. For a multirate discre...

meer dan 3 jaar ago | 0

Answered
Workspace empty during debug in AppDesigner
I tried to reproduce the issue at my end in MATLAB R2020b and I was able to see the variables defined in UITableCellSelection ca...

meer dan 3 jaar ago | 0

Answered
stereo camera calibration loading failed
it's a bug in MATLAB R2020b and our developers are aware about it. We will try to fix it in future releases.

meer dan 3 jaar ago | 1

| accepted

Answered
How to save struct data in for loop
You can overcome the problem by pre-allocating the array of structures as follows: clear all; % Clear the workspace N = 10; ...

meer dan 3 jaar ago | 0

| accepted

Answered
how can i display video and image simultaneously in GUI-matlab?
Your code is running sequentially. At first, it displays the complete video frame by frame. After the video is displayed, the i...

meer dan 3 jaar ago | 0

Answered
How to remove an apple twig from binary image?
You can use the following code snippet to remove the area of twig from the image of apple: % Read the input binary image I = i...

meer dan 3 jaar ago | 1

Answered
Image on subsystem mask
This video, through an example outlines how to mask your subsystem in order to change its appearance. The specifics about addin...

meer dan 3 jaar ago | 0

| accepted

Answered
How to prevent zooming out past a specific extent in UIAxes?
To limit the user from zooming out past an extent, you can add a custom zoom button (of 'push' button type) to the UIAxes. In ...

meer dan 3 jaar ago | 0

| accepted

Answered
Simulink Time Series Model
You can refer to the attached Simulink model for reference and suitably modify the model to solve your problem. The attached m...

meer dan 3 jaar ago | 1

Answered
Image ROI Determination Manually and Apply the Entire Sequence
Hi Omer, You can refer the following code to learn more about interactively selecting a rectangular ROI and using the ROI’s pos...

meer dan 3 jaar ago | 0

Answered
how can i embedd an audio and deal with audio
You can use the following code snippet to embed the audio in a video file: % Assuming your input file is named as "inputVideo....

meer dan 3 jaar ago | 0

Answered
Calculating the area of a selected region as a percentage of total image
You can use the roipoly function to interactively specify polygonal region of interest (ROI) and create a binary mask for the ...

meer dan 3 jaar ago | 0

Answered
Save the Simulink model without saving model workspace
The syntax you are using for the "save_system" command is correct for the functionality you are trying to achieve. save_system(...

meer dan 3 jaar ago | 0

| accepted

Answered
Undistortion of the image giving an error
The size of image you are trying to undistort is different from the size of images used for estimating the camera calibration pa...

meer dan 3 jaar ago | 1

| accepted

Answered
How do i label every unlabeled pixel automatically in the Image Labeler App?
In a pixel-labelled image, each pixel can have at most one pixel label. When you apply a label to a pixel, the new label replace...

meer dan 3 jaar ago | 0

| accepted

Answered
Functions which help share data between MATLAB, Simulink and App Designer.
To understand the exchange of data between Simulink model and App Designer, you can refer to this example that walks you throug...

meer dan 3 jaar ago | 0

| accepted

Answered
Flash ADC binary output
You can use the digital output from the “Flash ADC” block as input to the “Integer to Bit Converter” block (from “Communication...

meer dan 3 jaar ago | 1

| accepted

Answered
How Can I Zoom with Multiple Axes on a Plot
You can use “linkaxes” function to synchronize the limits of the specified vector of axes. Synchronizing the axes limits for the...

meer dan 3 jaar ago | 0

Answered
image and signal processing
The DSP System Toolbox provides the facility to measure pulse width for each pulse in a discrete time signal, an example is disc...

meer dan 3 jaar ago | 0

| accepted

Answered
How to resolve this error "illegal rate transition found" of ANN block in Simulink Real-Time workshop
It appears that the sample time for “nn” is set to [1 0] while that for its source is set to [0.001 0]. In your case, changing...

meer dan 3 jaar ago | 0

| accepted

Answered
How to change exciter in antenna toolbox?
Focused Dipole is the default Exciter for a Yagi-Uda antenna object in Antenna Toolbox. To change the Exciter from Focused Dipol...

meer dan 3 jaar ago | 0

Answered
microgrid in discrete model
Simscape Electrical Toolbox provides the necessary tools for modelling a microgrid with various components. There is a trade-off...

meer dan 3 jaar ago | 0

Answered
Simulating an inverted pendulum
Here is an example illustrating the implementation of the model of a 2-dimensional inverted pendulum controlled by a PID Control...

meer dan 3 jaar ago | 0

| accepted

Answered
Match axis director image and plot
The following code snippet and the function will help you to establish the correspondence between the points in regular cartesia...

meer dan 3 jaar ago | 0

| accepted

Answered
Setting pwelch frequency resolution
Refer to the documentation of “pwelch” function for the calculation of different parameters to be used to achieve the desired f...

meer dan 3 jaar ago | 0

| accepted

Answered
I am making a video at 240 FPS for 1 min but whenever I trim that video for 5 seconds that 5 second of video have 30 FPS. wondering why frame rate reduces?
The key to the solution of your problem is the “FrameRate” property of the “VideoWriter” object. If unspecified, the “FrameRate”...

meer dan 3 jaar ago | 0

| accepted

Answered
Write a function to add "randn" Gaussian noise to an specific percentage of images inside imageData store in matlab
Hi Mohamed, I can understand that you want to add noise to a percentage of images in an ImageDataStore which are chosen at rand...

meer dan 3 jaar ago | 0

Answered
Measure frame per second for deployed yolov2 in jetson nano
Hi Abdussalam, You can find an answer to a similar problem of measuring the performance of the detection algorithm in Frames Pe...

meer dan 3 jaar ago | 0

Answered
8 bit depth TIF files coloured or not?
Hi F Sp, From the details you have provided with the help of imfinfo function, it appears that the “ColorType” is “Indexed” for...

meer dan 3 jaar ago | 0

| accepted

Answered
Load images as thumbnails
Hi Leah, I understand that you are looking for a quick way to view images in a folder as thumbnails. The Image Processing Toolb...

meer dan 3 jaar ago | 0

Load more