**Statistics**

RANK**478**

of 281,750

REPUTATION**150**

CONTRIBUTIONS

**1** Question

**91** Answers

ANSWER ACCEPTANCE **
100.0%
**

VOTES RECEIVED**14**

RANK**16,210** of 19,057

REPUTATION**5**

AVERAGE RATING**0.00**

CONTRIBUTIONS**8** Files

DOWNLOADS **24**

ALL TIME DOWNLOADS**41**

CONTRIBUTIONS**0 Posts**

CONTRIBUTIONS**0** Public Channels

AVERAGE RATING

CONTRIBUTIONS**0** Highlights

AVERAGE NO. OF LIKES

**Content Feed**

Is there a MATLAB function to apply a 1D Gabor filter to an input?

% Parameters a = 1; % Amplitude mu = 0; % Mean sigma = 2; % Standard deviation f = 1; % Frequency phi = 0; % Phase off...

20 days ago | 0

How to solve such integrations on MATLAB?

The 'quadgk' function in MATLAB can be used for numerical integration. However, since you're dealing with complex variables, you...

20 days ago | 0

Identify Duplicate values in an array and replace with Nan

If you want to replace only the duplicates with 'NaN' and keep one occurrence of each value intact, here is the code: % Sample ...

20 days ago | 0

| accepted

Replacing elements in arrays

Here is a more straightforward way to replace the smallest and largest numbers in the array using MATLAB's built-in functions mi...

20 days ago | 0

Unable one of the options of drop down

You can use 'set' to change the 'Enable' property of the dropdowns in the callback functions. Here's how you can modify the c...

20 days ago | 0

| accepted

Why am I getting a parse error trying to put this function in MATLAB?

The issue you're encountering is because you have a syntax error in your MATLAB function declaration. You should define your fun...

21 days ago | 0

How to obtain curve fitting tool startpoints using code? Replicate Curve Fitter Toolbox

% Prepare data [xData, yData] = prepareCurveData( time_temp, state_timeseries_temp ); % Set up fittype ...

22 days ago | 0

Solving an equation consisting of a PDE and ODE

clc; clear; close all; % Given parameters espo = 0.269; gamma = 0.49; beta = 0.09; Pa = 1200; k0 = 3.4965e-15; u =...

22 days ago | 0

Solved

Is the paranthesis sequence balanced ?

Quantum mechanics and computer science are interested in bra-kets. Today however you, the player, will have to write a function ...

26 days ago

Solved

Morse Code Generator! Try it!

.... . .-.. .-.. --- . ...- . .-. -.-- --- -. . -.-.-- .-.. . - ... -.. --- ... --- -- . -- --...

26 days ago

How much GPU do I need?

Basic Formula to Estimate GPU Memory Requirement Memory Required=Model Size+Batch Size×(Forward Pass Memory+Backward Pass Memor...

26 days ago | 1

Solved

Sum of series I

What is the sum of the following sequence: Σ(2k-1) for k=1...n for different n?

29 days ago

Solved

Alternately upper-lower case

Modify the string to alternate between upper and lower case. For example, s='achyuta' output='AcHyUtA' Update - Test case...

1 month ago

Solved

Eliminate Polysyllabics: Long live short words!

Given a string s1, return s2 in which all the words with more than one syllable have been removed. To make things simple, we ...

1 month ago

Submitted

Predator-Prey Dynamics with Fixed Sum

The MATLAB code models the Lotka-Volterra predator-prey equations over time. It shows population dynamics of predators and prey ...

1 month ago | 5 downloads |

How to add restrictions to our group of differential equation? For example, in predator-prey model I want the sum of predator and prey to be fixed.

Here we go, t0 = 0; tfinal = 15; y0 = [20; 20]; % Initial conditions [prey, predator] [t, y] = ode23(@lotka, [t0 tfinal], y...

1 month ago | 0

error: Matrix dimensions must agree

Here, You're running a nested loop: The outer loop (i) iterates over each trial or nest. The inner loop (j) iterates over each...

1 month ago | 0

Variable-size signal error

Simulink is stricter than MATLAB when it comes to variable sizes. In MATLAB, you can change the size of a variable at will, but ...

1 month ago | 0

Solved

Calculate the Number of Sign Changes in a Row Vector (No Element Is Zero)

For a row vector: V=[7 1 2 -3] there is one sign change (from 2 to -3). So, the function you write must return N=1. F...

1 month ago

Solved

Symmetry of vector

Determine whether the vector is symmetric or not (vector could be even or odd in length). For example: x = [1 2 3 3 2 1] is s...

1 month ago

Solved

Longest run of consecutive numbers

Given a vector a, find the number(s) that is/are repeated consecutively most often. For example, if you have a = [1 2 2 2 1 ...

1 month ago

Wanted to use the function multisvm under Image Processing, since it has been removed, please suggest an alternative for the same.

'multisvm' was never a built-in MATLAB function but seems to be a user-provided one that has been circulated in various forums a...

1 month ago | 0

Tricky restriction in an optimization problem

'fmincon' is equipped to handle such constraints by accepting a function that provides both equality and inequality constraints....

1 month ago | 2

| accepted

Solved

When Was That Goal Scored?

We want to find out when the goals were scored in a particular soccer game. For each game, we are given a "Goal Event Data" XML ...

1 month ago

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); % ...

1 month ago | 0

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

1 month ago | 0

Submitted

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

1 month ago | 8 downloads |

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

1 month ago | 0

| accepted

Solved

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

1 month ago

Solved

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

1 month ago