Community Profile

photo

Dahai Xue


Merck & Co

7 total contributions since 2014

Contact

Dahai Xue's Badges

  • First Answer
  • Solver

View details...

Contributions in
View by

Solved


Pizza!
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

Answered
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

Answered
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

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

mehr als 4 Jahre ago | 0

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

mehr als 4 Jahre ago | 2

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

mehr als 4 Jahre ago

Solved


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

mehr als 4 Jahre ago