Answered
Adaptive filter output shows a offset in frequency domain?
Try this .. % Load and preprocess your EMI measurement data % Assuming you have x(k) as background noise and d(k) as the signa...

1 year ago | 0

Answered
Why do I get this error while connecting the Arduino Mega2560 to MATLAB?
The error "Internal error: The initialization of the server code is incorrect" could be caused by various factors. Troubleshoo...

1 year ago | 0

Submitted


Identify lamps ON and to identify the frame in Video
There are only two lamps and need to identify the frame number when each lamp is on and which lamp (lamp number) is on

1 year ago | 1 download |

Answered
Difference between 2 images?
% Read the video file videoFile = 'path/to/your/video.mp4'; videoObj = VideoReader(videoFile); % Read the first frame where...

1 year ago | 2

Answered
How to delete all strings with NaN in Struct
Based on your description, it seems like you have a struct variable osmScenarios, and within it, there is a field trafficLight t...

1 year ago | 2

| accepted

Answered
How to estimate how long the inversion process will take?
This is the optimized the code by removing unnecessary variables and setting their initial values to zero directly in the symbol...

1 year ago | 0

Answered
How to mute the notification of the official function like this?
Yes, you can suppress the output of the quadprog function and avoid displaying the notifications in the command window. MATLAB p...

1 year ago | 0

| accepted

Answered
I want to isocline induced step function
To simulate the isocline-induced step function differential equations, we can use MATLAB's ODE solver `ode45`. First define th...

1 year ago | 0

Answered
how to improve quality of exportapp?
MATLAB's App Designer does not provide a built-in option to directly control the resolution of the exported image. This is becau...

1 year ago | 0

Answered
Can you create a CNN with two images as inputs and a 6x1 array as an output?
This is sample code.. Try it. % Load your dataset and ground truth data here % Replace 'input_images' and 'ground_truth' with ...

1 year ago | 0

Answered
How to reference a model in matlab?
Model referencing in Simulink allows you to modularize your system by breaking it into separate models that can be reused and re...

1 year ago | 0

Answered
Algorithm for edge connectivity of a digraph?
To compute the edge connectivity of a directed graph (digraph) in MATLAB, you can use the built-in function "edgeconncomp". This...

1 year ago | 0

Answered
show the confusion metrics as figure?
After Evaluating semantic segmentation results, add the below code: % Get the confusion matrix from the 'metrics' object confu...

1 year ago | 0

| accepted

Solved


Find the Best Hotels
Given three input variables: hotels - a list of hotel names ratings - their ratings in a city cutoff - the rating at which yo...

1 year ago

Solved


Crop an Image
A grayscale image is represented as a matrix in MATLAB. Each matrix element represents a pixel in the image. An element value re...

1 year ago

Solved


Plot Damped Sinusoid
Given two vectors |t| and |y|, make a plot containing a blue ( |b| ) dashed ( |--| ) line of |y| versus |t|. Mark the minimum...

1 year ago

Solved


Calculate a Damped Sinusoid
The equation of a damped sinusoid can be written as |y = A.ⅇ^(-λt)*cos(2πft)| where |A|, |λ|, and |f| ...

1 year ago

Solved


Solve a System of Linear Equations
Example: If a system of linear equations in x₁ and x₂ is: 2x₁ + x₂ = 2 x₁ - 4 x₂ = 3 Then the coefficient matrix (A) is: 2 ...

1 year ago

Answered
Variable input ODE solution
Here It is .. clear; close all; clc; % (Please insert the rest of your code for jds = 1:length(ds_matrix) for jtheta...

1 year ago | 0

Answered
How to fix table variable related error?
Here It is ... clc; clear all; close all; data = readtable('sample.csv'); X = data(:, 1:end); % Get the current vari...

1 year ago | 0

| accepted

Answered
How to represent (0:10:35) as 00:00 00:10, ... in Yticklabel?
In your code, you are using set(gca, 'YTick', ...) to set the y-axis ticks, which are actually numerical values from 0 to 0.51 (...

1 year ago | 0

| accepted

Answered
Train a Feedforward NN with Error Weights for the performance function
Yes, you can set different error weights for your Feedforward Neural Network training process. The error weight values can be sp...

1 year ago | 0

Solved


Verify Law of Large Numbers
If a large number of fair N-sided dice are rolled, the average of the simulated rolls is likely to be close to the mean of 1,2,....

1 year ago

Solved


Find the Oldest Person in a Room
Given two input vectors: * |name| - user last names * |age| - corresponding age of the person Return the name of the ol...

1 year ago

Solved


Convert from Fahrenheit to Celsius
Given an input vector F containing temperature values in Fahrenheit, return an output vector C that contains the values in Celsi...

1 year ago

Solved


There are 10 types of people in the world
Those who know binary, and those who don't. The number 2015 is a palindrome in binary (11111011111 to be exact) Given a year...

1 year ago

Solved


Converting binary to decimals
Convert binary to decimals. Example: 010111 = 23. 110000 = 48.

1 year ago

Solved


Relative ratio of "1" in binary number
Input(n) is positive integer number Output(r) is (number of "1" in binary input) / (number of bits). Example: * n=0; r=...

1 year ago

Solved


Bit Reversal
Given an unsigned integer _x_, convert it to binary with _n_ bits, reverse the order of the bits, and convert it back to an inte...

1 year ago

Answered
surf plot is required
To create the surface plot for the given code, you can use the MATLAB 'surf' function inside the loop. However, you need to be c...

1 year ago | 0

Load more