Feeds
已回答
How to use fprintf to add a header when printing a matrix?
You can create a variable that formats the output, then call it in fprintf. For example: % setup='%1s %1s'; Where...
How to use fprintf to add a header when printing a matrix?
You can create a variable that formats the output, then call it in fprintf. For example: % setup='%1s %1s'; Where...
10 years 前 | 0
提问
How do I scale a scatter-plot to 250 by 250 using the line data type?
This is the code: % x=[1,2,3,4,5,6] y=exp(x) scatter(x,y,'*') line(25,4) When I tried doing this, I go...
10 years 前 | 1 个回答 | 0
1
个回答已回答
How can you prevent the output in a MATLAB pdf file from being cut off the page?
There are some older versions of MATLAB that actually have output issues when printing the code to the PDF file; my suggestion i...
How can you prevent the output in a MATLAB pdf file from being cut off the page?
There are some older versions of MATLAB that actually have output issues when printing the code to the PDF file; my suggestion i...
10 years 前 | 0
已解决
Create a row array using double colon operator
Create a row array from 9 to 1, using the double colon operator.
10 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...
10 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...
10 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:...
10 years 前