Guillaume Le Goc
Followers: 0 Following: 0
Statistics
RANK
6,134
of 289,731
REPUTATION
7
CONTRIBUTIONS
3 Questions
3 Answers
ANSWER ACCEPTANCE
33.33%
VOTES RECEIVED
2
RANK
of 19,580
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
Feeds
Storage of first few values in an array but with an if condition
You could use the find function, where you can specify the first n elements you want : A = [0.25;0.12;0.18;0.21;0.26;0.18;0.19;...
4 years ago | 0
Question
Plot contours from coordinates as a line
Hey there, I'm struggling with a problem regarding plotting a shape directly from x,y coordinates. I have a set of (x,y) coordi...
4 years ago | 1 answer | 0
1
answerSolved
Whether the input is vector?
Given the input x, return 1 if x is vector or else 0.
4 years ago
How can I use parameters from workspace in custom equation using fittype function?
If you want to fit y(x) to find the parameter A, now you have set the fittype and fitoptions for the fit, you just need to perfo...
4 years ago | 0
Question
boxchart and ylim auto
Hello, I'm struggling with a weird effect of the new (R2020a) boxchart function. The latter is essentially the same thing as bo...
4 years ago | 0 answers | 0
0
answersDocumentation and Live Editor shows black screen on Linux
The problem appeared again on MATLAB R2019b. I also noticed that the "Log in" button didn't work, while outputing the libselinux...
4 years ago | 1
| accepted
Solved
Convert Fahrenheit to Celsius
Calculate the Celsius temperature C given the Fahrenheit temperature F. Examples: Input F = 90 Output C is 32.22 I...
4 years ago
Solved
Determine whether a vector is monotonically increasing
Return true if the elements of the input vector increase monotonically (i.e. each element is larger than the previous). Return f...
4 years ago
Solved
Replace Vector Elements
Replace all elements in a vector which are equal to or smaller than zero with 0.1. Example: A = [1 2 3 -1 0 2 -3 -80]; ...
4 years ago
Solved
Pizza!
Given a circular pizza with radius _z_ and thickness _a_, return the pizza's volume. [ _z_ is first input argument.] Non-scor...
4 years ago
Solved
Maximum value in a matrix
Find the maximum value in the given matrix. For example, if A = [1 2 3; 4 7 8; 0 9 1]; then the answer is 9.
4 years ago
Question
Documentation and Live Editor shows black screen on Linux
Hello, I'm struggling with the following problem : the documentation shows only a black screen, as you can see in the attached ...
4 years ago | 2 answers | 1
2
answersSolved
Check if number exists in vector
Return 1 if number _a_ exists in vector _b_ otherwise return 0. a = 3; b = [1,2,4]; Returns 0. a = 3; b = [1,...
6 years ago
Solved
Column Removal
Remove the nth column from input matrix A and return the resulting matrix in output B. So if A = [1 2 3; 4 5 6]; and ...
6 years ago
Solved
Free passes for everyone!
THIS PROBLEM IS TEMPORALLY DECOMMISSIONED WHILE IT IS UPDATED. PLEASE WAIT _Simply return the name of the coolest numerical c...
6 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:...
6 years 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...
7 years ago
Solved
Sum all integers from 1 to 2^n
Given the number x, y must be the summation of all integers from 1 to 2^x. For instance if x=2 then y must be 1+2+3+4=10.
7 years ago
Solved
Weighted average
Given two lists of numbers, determine the weighted average. Example [1 2 3] and [10 15 20] should result in 33.333...
7 years ago
Solved
Swap the first and last columns
Flip the outermost columns of matrix A, so that the first column becomes the last and the last column becomes the first. All oth...
7 years ago
Solved
Find all elements less than 0 or greater than 10 and replace them with NaN
Given an input vector x, find all elements of x less than 0 or greater than 10 and replace them with NaN. Example: Input ...
7 years ago
Solved
Triangle Numbers
Triangle numbers are the sums of successive integers. So 6 is a triangle number because 6 = 1 + 2 + 3 which can be displa...
7 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...
7 years ago
Solved
Determine if input is odd
Given the input n, return true if n is odd or false if n is even.
7 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...
7 years ago
Solved
Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...
7 years ago