Community Profile

photo

Dahai Xue


Merck & Co

Active since 2014

Followers: 0   Following: 0

Message

Statistics

All
  • First Review
  • First Answer
  • Solver

View badges

Feeds

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

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

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

8 years ago | 0

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

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

9 years ago | 3

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

9 years ago

Solved


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

9 years ago