Community Profile

# YW

10 total contributions since 2016

View details...

Contributions in
View by

Solved

Number of odd and even elements within matrix
Input(m) - any matrix with integers Output(n) - n(1)=number of odd elements, n(2)=number of even elements Example: * m=...

2 years ago

Solved

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

2 years ago

Solved

Select every other element of a vector
Write a function which returns every other element of the vector passed in. That is, it returns the all odd-numbered elements, s...

2 years ago

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

2 years ago

Solved

Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

2 years ago

Question

>> webread('https://www.mathworks.com') Error using webread (line 119) The connection to URL 'https://www.mathworks....

3 years ago | 0 answers | 0

### 0

Question

Weboptions: Timeout don't work
I am using the Example 1 from webread command help. url = 'http://www.mathworks.com/matlabcentral/fileexchange' sear...

3 years ago | 1 answer | 0

### 1

Still didn't work. See below: >> opts = weboptions('UserAgent','Mozilla/5.0') opts = weboptions with prope...

3 years ago | 1

Question

I tried to find out how webread works. Following examples don't work for me. >> filex = 'http://www.mathworks.com/matlabcen...

3 years ago | 2 answers | 0