Community Profile

photo

Darshan Sen


7 total contributions since 2019

I am a Computer Science undergraduate pursuing a degree.
Mathematics, Machine Learning and Data Science interest me.
One may find me battling in various competitive coding sites.
I also like working on various innovative projects.

Contact

Darshan Sen's Badges

  • Knowledgeable Level 2
  • First Answer

View details...

Contributions in
View by

Answered
How can I make each pair of pixels from the matrix in a row major order?
Hello Subroto. I have used a couple of steps to convert A into a vector of paired up pixels and stored it in A_paired. >> A=[43...

4 months ago | 0

| accepted

Answered
good morning everyone can anyone answer me this question ? i have an error in the matlab code
Hello No Freed. First error: line 10: pan_ray_total should be pan_ray_tot instead as that's the name you used at line 5. Secon...

4 months ago | 0

Answered
Having trouble with my conditional if statement for a structure
Hello AStar. You were very close to solving this problem. You had to use the square brackets in the function mean just like you...

4 months ago | 0

| accepted

Answered
How do i find x in an equation using the solve command?
Once you have the Symbolic Math Toolbox add-on, you may solve the equation like this syms x eqn = x - 2 == 0; solx = solve(eq...

4 months ago | 1

| accepted

Answered
Helped needed in Fibonacci Sequence code
Hello Cici. We can solve this by introducing another variable count into the function as shown below. function[F_n, count] = Fi...

5 months ago | 0

| accepted

Answered
creating a matrix from a column vector
Hello Sam. I guess we can solve your problem using the reshape function that MATLAB provides. I'll walk you through a very simp...

5 months ago | 0

Answered
function on if and for loops
Your question doesn't seem very clear to me. x1 and x2 are not clearly defined. Assuming, you want to define a function that ta...

5 months ago | 1