Community Profile


sid Chen

5 total contributions since 2019

sid Chen's Badges

  • Thankful Level 1
  • First Answer
  • First Review
  • Solver

View details...

Contributions in
View by

how to replace the element with random number based if statement
Andrei Answer is very clear. The problem is if rmi<pm mutC = rCm else mutC = mut1 with these code...

10 meses ago | 0

I can't read a .txt using importdata, but it works for .jpg or .xlsx
Sorry, I don`t know the reason. I am using Maltab 2018b on Win 10, function `importdata(txt_file)` works on my computer. >> f ...

10 meses ago | 0


How to plot a Map with 2 dimensional colorbar?
Hi, I want to plot like this figure. My question is how to get colorbar like this one, the shape of the figure( like this map...

10 meses ago | 2 answers | 0




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

alrededor de 1 año ago


Add two numbers
Given a and b, return the sum a+b in c.

alrededor de 1 año ago