![photo](/responsive_image/150/150/0/0/0/cache/matlabcentral/profiles/6580227_1522115961045_DEF.jpg)
Guillaume Le Goc
Followers: 0 Following: 0
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;...
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 前 | 0
提问
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 前 | 1 个回答 | 0
1
个回答已回答
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...
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 前 | 0
提问
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 前 | 0 个回答 | 0
0
个回答已回答
Documentation 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...
Documentation 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...
5 years 前 | 1
| 已接受
已解决
Convert Fahrenheit to Celsius
Calculate the Celsius temperature C given the Fahrenheit temperature F. Examples: Input F = 90 Output C is 32.22 I...
5 years 前
已解决
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...
5 years 前
已解决
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]; ...
5 years 前
已解决
Pizza!
Given a circular pizza with radius _z_ and thickness _a_, return the pizza's volume. [ _z_ is first input argument.] Non-scor...
5 years 前
已解决
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.
5 years 前
提问
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 ...
5 years 前 | 2 个回答 | 1
2
个回答已解决
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 前
已解决
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 ...
7 years 前
已解决
Free passes for everyone!
THIS PROBLEM IS TEMPORALLY DECOMMISSIONED WHILE IT IS UPDATED. PLEASE WAIT _Simply return the name of the coolest numerical c...
7 years 前
已解决
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:...
7 years 前
已解决
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 前
已解决
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 前
已解决
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 前
已解决
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 前
已解决
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 前
已解决
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 前
已解决
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 前
已解决
Determine if input is odd
Given the input n, return true if n is odd or false if n is even.
7 years 前
已解决
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 前
已解决
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 前