photo

vansh gandhi


Last seen: 1 year ago Active since 2023

Followers: 0   Following: 0

Statistics

All
  • Solver
  • Knowledgeable Level 1
  • First Answer

View badges

Feeds

View by

Solved


Most nonzero elements in row
Given the matrix a, return the index r of the row with the most nonzero elements. Assume there will always be exactly one row th...

1 year ago

Solved


Add two numbers
Calculate the sum of two numbers. Example input = [2 3] output = 5

1 year ago

Solved


Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...

1 year ago

Solved


Make the vector [1 2 3 4 5 6 7 8 9 10]
In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...

1 year ago

Solved


Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

1 year ago

Answered
Efficient Way to Implement Tree Data Structure
In MATLAB, one efficient way to implement a tree data structure is by using a combination of arrays and structures. Here's an ex...

1 year ago | 0

Answered
genetic algorithm
Designing an adaptive filter and optimizing its coefficients using a genetic algorithm (GA) is a valid approach. However, achiev...

1 year ago | 0

Answered
How to convert .dat file to an MATLAB array
To convert a .dat file into a format that is readable by Python or MATLAB, you can follow different approaches depending on the ...

1 year ago | 0

Answered
How to implement SOVA algorithm
The Soft Output Viterbi Algorithm (SOVA) is an extension of the Viterbi algorithm used in digital communications and signal proc...

1 year ago | 0

Answered
algorithm for edge connectivity of graph
The edge connectivity of an undirected graph represents the minimum number of edges that need to be removed in order to disconne...

1 year ago | 0

Answered
graph algorithms
To create a graph you can look into this documentation Graphs in MATLAB This is how you can compute for the matrix of the dista...

1 year ago | 0

Answered
Unable to find bug in Problem 56040 which is a Binary Search problem on MATLAB Cody
Hello Yash, I took a look at your code and it seems the bug lies in the termination condition of your while loop (low < high). ...

1 year ago | 1

| accepted