Solved


Project Euler: Problem 6, Natural numbers, squares and sums.
The sum of the squares of the first ten natural numbers is, 1^2 + 2^2 + ... + 10^2 = 385 The square of the sum of the first ...

mer än ett år ago

Solved


Project Euler: Problem 8, Find largest product in a large string of numbers
Find the greatest product of five consecutive digits in an n-digit number. 73167176531330624919225119674426574742355349194934...

mer än ett år ago

Solved


Project Euler: Problem 7, Nth prime
By listing the first six prime numbers: 2, 3, 5, 7, 11, and 13, we can see that the 6th prime is 13. What is the Nth prime numb...

mer än ett år ago

Solved


Stress-Strain Properties - 5
Similar to the previous problem, materials may be characterized by their stiffness-to-weight ratio, which is the elastic modulus...

mer än ett år ago

Solved


Stress-Strain Properties - 4
A common measure of the ability of a material to carry load per unit mass is termed strength-to-weight ratio and is calculated b...

mer än ett år 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...

mer än ett år ago

Solved


Stress-Strain Properties - 2
The resilience of a material is its ability to resist permanent (or plastic) deformation. The resilience coincides with the elas...

mer än ett år 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...

mer än ett år ago

Answered
Change the editor layout
Home>Environment>Preferences>Toolbars Then find the section you want to modify under 'Controls:' and: to add just use the che...

mer än ett år ago | 0

Answered
Disable the gpu.
the command: gpuDevice([]); should do the trick. Mind that it requires that the Parallel Computing Toolbox is installed. Fo...

mer än ett år ago | 0

Answered
Generating sequence of random numbers with a number of exceptions
could you clarify what do you mean by timepoint? once you do that i will tweak my suggestion accordingly. For now: eightRandT...

mer än ett år ago | 0

Solved


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

mer än ett år 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?

mer än ett år ago

Solved


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

mer än ett år ago

Solved


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

mer än ett år ago

Solved


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

mer än ett år ago

Solved


Triangle sequence
A sequence of triangles is constructed in the following way: 1) the first triangle is Pythagoras' 3-4-5 triangle 2) the s...

mer än ett år ago

Answered
Is MATLAB R2016a compatible with Code Composer Studio v7?
the first matlab version which officially supports CCS is R2017b, as specified on mathworks website here.

mer än ett år ago | 0

Question


git integration in matlab
i'm using git versioning embedded in matlab since a couple of weeks. Since i'm used to linux console commands i prefer to input ...

mer än ett år ago | 1 answer | 1

1

answer

Answered
how to know if I can use parfor
to use parfor() you need either a Matlab coder software (so standalone code) or the Parallel Computing Toolbox. Other than that ...

mer än ett år ago | 1

Answered
Why subsystem reference loads all included subsystems in memory after openning top model?
A subsystem can be virtual or non-virtual. A virtual subsystem is just a graphical thing, so it actually is on the same level a...

mer än ett år ago | 0

| accepted

Solved


Evened up (or not)
You will be provided with an array or matrix that contains various numbers, in addition to an evening variable, e, set to 1 or 0...

mer än ett år ago

Solved


De-primed
Write a function that will multiply every prime number in the array or matrix by two, leaving all other numbers the same, and re...

mer än ett år ago

Solved


Project Euler: Problem 1, Multiples of 3 and 5
If we list all the natural numbers below 10 that are multiples of 3 or 5, we get 3, 5, 6 and 9. The sum of these multiples is 23...

mer än ett år ago

Solved


Oh Zero Zero Zero!!!
Hello all, So you have to find the largest section of zeros in a vector and then find the length of those zeros and there start...

mer än ett år ago

Solved


Create a vector whose elements depend on the previous element
The idea is to create a vector A whose elements depend on the previous element : *A(i+1) = 2*A(i)+1* *2 Inputs*: - A : The...

mer än ett år ago

Solved


Implement a bubble sort technique and output the number of swaps required
A bubble sort technique compares adjacent items and swaps them if they are in the wrong order. This is done recursively until al...

mer än ett år ago

Solved


Unique values without using UNIQUE function
You must return unique values in a vector in *stable* mode without using the unique function. About stable order flag: ...

mer än ett år ago

Solved


Create an index-powered vector
Given a input vector x, return y as index-powered vector as shown below. Example x = [2 3 6 9] then y should be [...

mer än ett år ago

Solved


Determine the number of odd integers in a vector
Determine the number of unique odd integers in a vector. Examples: Input x = [2 5 8 3 7 1]; Output y = 4; Inp...

mer än ett år ago

Load more