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...
9년 초과 전 | 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...
9년 초과 전 | 답변 수: 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...
9년 초과 전 | 0
문제를 풀었습니다
Create a row array using double colon operator
Create a row array from 9 to 1, using the double colon operator.
9년 초과 전
문제를 풀었습니다
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...
9년 초과 전
문제를 풀었습니다
Weighted average
Given two lists of numbers, determine the weighted average. Example [1 2 3] and [10 15 20] should result in 33.333...
9년 초과 전
문제를 풀었습니다
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:...
9년 초과 전