A répondu
How to eliminate transition section in contourf function;
% Sample data [X, Y, Z] = peaks(100); % Create a figure figure; % Create a filled contour plot contourf(X, Y, Z); % ...

8 mois il y a | 0

A répondu
How do I stop my colorbar from adjusting automatically to represent the saturation within my figure
To prevent the color map from adjusting its scale dynamically over each timestep, you should set the CLim property of the curren...

8 mois il y a | 0

A soumis


Iterative Neural Network Training in MATLAB
Iterative neural network training in MATLAB. Enhances model accuracy by retraining with data rows where predictions exceed a 10%...

8 mois il y a | 1 téléchargement |

A répondu
Can you provide me suggestions/critique my approach to this Neural Network fitting?
Try this: % Load your data % Example: load('your_data.mat'); % Assuming you have Input and Output as your data matrices % ...

8 mois il y a | 0

| A accepté

A résolu


Chess probability
The difference in the ratings between two players serves as a predictor of the outcome of a match (the <http://en.wikipedia.org/...

8 mois il y a

A résolu


Rescale Scores
Each column (except last) of matrix X contains students' scores in a course assignment or a test. The last column has a weighted...

8 mois il y a

A résolu


Calculate BMI
Given a matrix hw (height and weight) with two columns, calculate BMI using these formulas: 1 kilogram = 2.2 pounds 1 inch = 2...

8 mois il y a

A résolu


Binary code (array)
Write a function which calculates the binary code of a number 'n' and gives the result as an array(vector). Example: Inpu...

8 mois il y a

A résolu


Height of a right-angled triangle
Given numbers a, b and c, find the height of the right angled triangle with sides a and b and hypotenuse c, for the base c. If a...

8 mois il y a

A soumis


Stereo Audio Generation with Phase-Differentiated Channels
The code is designed to generate and play a stereo audio signal with a specific frequency and phase difference, like circularly...

8 mois il y a | 1 téléchargement |

A répondu
circularly polarized signals using matlab audio
However, I'll provide a general approach, and you can adjust as per your exact needs. Generate the Signal: If you're thinking o...

8 mois il y a | 0

A répondu
how add "$" and "' ' " in array string
% Sample data T = [ "139411.39"; "115944.39"; "413970.912"; "124256.379"; "144673.585"; "93473.16...

8 mois il y a | 0

A répondu
Different outputs from spectrogram and pwelch
Spectrogram Scaling: In your spectrogram analysis, you are converting the spectrogram power values to dB and applying calibratio...

9 mois il y a | 0

A soumis


Reservoir Simulation with Precipitation and Constraints
This MATLAB code simulates the behavior of a reservoir system over a given time period

9 mois il y a | 3 téléchargements |

A résolu


Natural numbers in string form
Create a cell array of strings containing the first n natural numbers. _Slightly_ harder than it seems like it should be. Ex...

9 mois il y a

A résolu


radius of a spherical planet
You just measured its surface area, that is the input.

9 mois il y a

A résolu


Calculate area of sector
A=function(r,seta) r is radius of sector, seta is angle of sector, and A is its area. Area of sector A is defined as 0.5*(r^2...

9 mois il y a

A résolu


Possible Rugby Scores
Given a natural number s (> 4), representing a rugby team's score, return an n-by-3 matrix representing all n possible combinati...

9 mois il y a

A résolu


Split Even Number Into Two Primes
Given an even whole number n (> 2), return a 2-element vector of primes, p, such that p(1) + p(2) = n. Fun note: technically it...

9 mois il y a

A résolu


Determine if Input is Oddish or Evenish (Odd/Even Sum of Digits)
Given a positive integer n, determine whether n is "oddish" or "evenish" - that is, whether the sum of the digits of n is odd or...

9 mois il y a

A soumis


Comparing Distribution Fitting: Normal, Exponential, Gamma
Utilizing MATLAB's Statistics and Machine Learning Toolbox for fitting normal, exponential, and gamma distributions to a dataset...

9 mois il y a | 1 téléchargement |

A répondu
How to check which distribution (normal or exponential or gamma) fits best to a data set? Which function to use for this?
To determine which distribution (normal, exponential, or gamma) fits the dataset most accurately, you can use a goodness-of-fit ...

9 mois il y a | 0

A répondu
How to export a set of tables to Excel
% Create a cell array to hold your tables tables = {table1, table2, table3}; % Replace with your actual tables % Specify the...

9 mois il y a | 0

A répondu
Can anybody help me to code boundary conditions in MATLAB for Keller Box Method?
% Define parameters r_1 = 0.1; r_2 = 0.2; S = 2.0; % Define the differential equations % y(1) = f, y(2) = f', y(3) = θ, y...

9 mois il y a | 0

A répondu
Genetic Algorithm Best Objective Function Value Increased in Later Generations
In genetic algorithms (GA), it is common to observe fluctuations or changes in the objective function value (fitness) from one g...

9 mois il y a | 1

| A accepté

A répondu
Plot equation using user input array
clear s = tf('s'); zeta = input('Enter damping ratio values in a 1D array: '); omega = input('Enter natural frequency val...

9 mois il y a | 0

A soumis


Estimating the Relative Changes in Motion of 3D Objects
CNN for estimating the relative changes in motion between two consecutive images.of 3D objects

9 mois il y a | 1 téléchargement |

A soumis


Adaptive filter output using dsp.FrequencyDomainAdaptiveFilt
A general outline for using the dsp.FrequencyDomainAdaptiveFilter in MATLAB to remove background noise from EMI measurement data...

9 mois il y a | 1 téléchargement |

A résolu


Calculate Inner Product
Given two input matrices, |x| and |y|, check if their inner dimensions match. * If they match, create an output variable |z|...

9 mois il y a

A résolu


Find MPG of Lightest Cars
The file |cars.mat| contains a table named |cars| with variables |Model|, |MPG|, |Horsepower|, |Weight|, and |Acceleration| for ...

9 mois il y a

Charger plus