Community Profile


Dahai Xue

Merck & Co

7 total contributions since 2014


Dahai Xue's Badges

  • First Answer
  • Solver

View details...

Contributions in
View by


Given a circular pizza with radius _z_ and thickness _a_, return the pizza's volume. [ _z_ is first input argument.] Non-scor...

mehr als 2 Jahre ago

Matlab jokes or puns
"I got flipped twice in different ways. My programmer is crazy " An image in common coordinate said. "You look better when you...

mehr als 2 Jahre ago | 3

Extract numbers from mixed string
C.J. Harris, I put your regexp into a function to extract all numbers using regexp. I have hard time to find an array operation ...

etwa 3 Jahre ago | 0

Read csv-File fast / convert csv to mat
for system with Excel installed, this simply works [~,~,myTable] = xlsread('myFile.csv');

etwa 4 Jahre ago | 0

reading quoted strings with comma in a csv file
On a PC with Excel installed, it is easy to use this statement [~, ~, myTable] = xlsread('myFile.csv'). It handles quotes...

etwa 4 Jahre ago | 2


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

mehr als 4 Jahre ago


Is my wife right?
Regardless of input, output the string 'yes'.

mehr als 4 Jahre ago