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년 전 | 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년 전 | 답변 수: 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년 전 | 0
문제를 풀었습니다
Create a row array using double colon operator
Create a row array from 9 to 1, using the double colon operator.
거의 10년 전
문제를 풀었습니다
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년 전
문제를 풀었습니다
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년 전
문제를 풀었습니다
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년 전