# Diogo Carvalho

**Statistics**

RANK**253 293**

of 264 962

REPUTATION**0**

CONTRIBUTIONS

**6** Questions

**1** Answer

ANSWER ACCEPTANCE **
50.0%
**

VOTES RECEIVED**0**

RANK

of 18 102

REPUTATION**N/A**

AVERAGE RATING**0.00**

CONTRIBUTIONS**0** Files

DOWNLOADS **0**

ALL TIME DOWNLOADS**0**

CONTRIBUTIONS**0 Posts**

CONTRIBUTIONS**0** Public Channels

AVERAGE RATING

CONTRIBUTIONS**0** Highlights

AVERAGE NO. OF LIKES

**Content Feed**

Solved

Double Factorial

Return double factorial n(n-2)...(5)(3)(1), n>0, odd n!! = n(n-2)...(6)(4)(2), n>0, even 1 ...

11 månader ago

Solved

Remove any row in which a NaN appears

Given the matrix A, return B in which all the rows that have one or more <http://www.mathworks.com/help/techdoc/ref/nan.html NaN...

11 månader ago

Solved

letter yes yes & letter no no

Split a string into two strings, wherein the first string has all alphabetic letters and the second string has all the remaining...

11 månader ago

Solved

Sum of series VI

What is the sum of the following sequence: Σk⋅k! for k=1...n for different n?

12 månader ago

Solved

Sum of series V

What is the sum of the following sequence: Σk(k+1) for k=1...n for different n?

12 månader ago

Solved

Sum of series IV

What is the sum of the following sequence: Σ(-1)^(k+1) (2k-1)^2 for k=1...n for different n?

12 månader ago

Solved

Sum of series III

What is the sum of the following sequence: Σ(2k-1)^3 for k=1...n for different n?

12 månader ago

Solved

Sum of series II

What is the sum of the following sequence: Σ(2k-1)^2 for k=1...n for different n?

12 månader ago

Solved

Stress-Strain Properties - 3

A brittle material will not exhibit a yield point. In other words, the yield point and failure point coincide. In such cases, th...

12 månader ago

Solved

Stress-Strain Properties - 1

This is the first in a series of problems regarding mechanics of materials, in particular, material properties drawn from stress...

12 månader ago

Question

Create a surface from several 1D plots

I have fitted several groups of scattered points (x,z) into 1D plots which vary on a third variable y. I now want to connect the...

ungefär ett år ago | 2 answers | 0

### 2

answersQuestion

Error when running function "Attempt to execute SCRIPT support as a function: D:\MATLAB\toolbox\matlab\helptools\support.m"

I'm trying to run a function with inputs and I get this error. I've read the support thread found in: https://www.mathworks.co...

mer än ett år ago | 0 answers | 0

### 0

answersSolved

Vector creation

Create a vector using square brackets going from 1 to the given value x in steps on 1. Hint: use increment.

mer än ett år ago

Solved

Doubling elements in a vector

Given the vector A, return B in which all numbers in A are doubling. So for: A = [ 1 5 8 ] then B = [ 1 1 5 ...

mer än ett år ago

Solved

Flip the vector from right to left

Flip the vector from right to left. Examples x=[1:5], then y=[5 4 3 2 1] x=[1 4 6], then y=[6 4 1]; Request not ...

mer än ett år ago

Solved

Whether the input is vector?

Given the input x, return 1 if x is vector or else 0.

mer än ett år ago

Solved

Get the length of a given vector

Given a vector x, the output y should equal the length of x.

mer än ett år ago

Question

How to restart a function if it takes too long to run?

Hello! I created a time stepping function to solve differential dynamic equations. Within this function I have a while loop that...

nästan 2 år ago | 1 answer | 0

### 1

answerHow to retrieve outputs from an .m file into my GUI?

I figured it out. Apparently, the input variables that went into the function still weren't considered as such. Thus, the functi...

ungefär 2 år ago | 0

| accepted

Question

How to retrieve outputs from an .m file into my GUI?

I'm building a GUI using guide in which I want to use a drop down menu to perform a series of procedures. Those are as follows...

ungefär 2 år ago | 2 answers | 0

### 2

answersSolved

Create times-tables

At one time or another, we all had to memorize boring times tables. 5 times 5 is 25. 5 times 6 is 30. 12 times 12 is way more th...

ungefär 2 år ago

Solved

Finding Perfect Squares

Given a vector of numbers, return true if one of the numbers is a square of one of the other numbers. Otherwise return false. E...

ungefär 2 år ago

Solved

Sudoku square

We have a small Sudoku square, but one number is missing. x = [ 1 5 4 8 6 3 0 9 7 ] Make a function, wher...

mer än 2 år ago

Solved

Check to see if a Sudoku Puzzle is Solved

*Description:* Your task, should you choose to accept it, is to make a function that checks to see if a 9x9 matrix of integer...

mer än 2 år ago

Solved

Solve the Sudoku Row

*Description* A simple yet tedious task occurs near the end of most Sudoku-solving algorithms, computerized or manual. The ta...

mer än 2 år ago

Solved

Crunch that matrix!

You are given an M x N matrix. Write a script that will compress this matrix into an M x (N/3) matrix, where each of the terms ...

mer än 2 år ago

Solved

Is this triangle right-angled?

Given three positive numbers a, b, c, where c is the largest number, return *true* if the triangle with sides a, b and c is righ...

mer än 2 år ago