Respondida
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...

12 meses hace | 0

Respondida
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...

12 meses hace | 0

Enviada


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

12 meses hace | 1 descarga |

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

12 meses hace | 2

Respondida
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...

12 meses hace | 2

| aceptada

Respondida
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...

12 meses hace | 0

Respondida
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...

12 meses hace | 0

| aceptada

Respondida
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...

12 meses hace | 0

Respondida
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...

12 meses hace | 0

Respondida
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 ...

12 meses hace | 0

Respondida
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...

12 meses hace | 0

Respondida
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...

12 meses hace | 0

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

12 meses hace | 0

| aceptada

Resuelto


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...

12 meses hace

Resuelto


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...

12 meses hace

Resuelto


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...

12 meses hace

Resuelto


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

12 meses hace

Resuelto


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 ...

12 meses hace

Respondida
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...

12 meses hace | 0

Respondida
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...

12 meses hace | 0

| aceptada

Respondida
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 (...

12 meses hace | 0

| aceptada

Respondida
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...

12 meses hace | 0

Resuelto


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,....

12 meses hace

Resuelto


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...

12 meses hace

Resuelto


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...

12 meses hace

Resuelto


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...

12 meses hace

Resuelto


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

12 meses hace

Resuelto


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=...

12 meses hace

Resuelto


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...

12 meses hace

Respondida
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...

12 meses hace | 0

Cargar más