Feeds
提问
How do I delete a specific line from a text file?
Hi there guys, I have a list of file locations that I have saved in a .txt file, all on new lines, like so: C:\\User\Doc...
8 years 前 | 1 个回答 | 0
1
个回答提问
How to change text in a textbox from a pushbutton's callback?
I have a GUI that is supposed to create a folder of shortcuts in a certain file. I would like to be able to have a button called...
8 years 前 | 1 个回答 | 0
1
个回答提问
Getting the error 'Subscript indices must either be real positive integers or logicals' when using the mode() function
I have a column vector (20000 x 1) which is a 20 thousand entries long of numbers which are all decimals with 9 decimal places. ...
8 years 前 | 1 个回答 | 0
1
个回答已解决
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.
8 years 前
已解决
Create a row array using double colon operator
Create a row array from 9 to 1, using the double colon operator.
8 years 前
已解决
Circle area using pi
Given a circle's radius, compute the circle's area. Use the built-in mathematical constant pi.
8 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 ...
8 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...
8 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:...
8 years 前