Feeds
답변 있음
how to initialize a vector of structure
You can consider using table instead of structure array to store your data, which gives some flexibility to access the members. ...
how to initialize a vector of structure
You can consider using table instead of structure array to store your data, which gives some flexibility to access the members. ...
거의 12년 전 | 0
답변 있음
how to initialize a vector of structure
To preallocate memory, you need to put some values into the data structure that you are using. I think it's the design of Matlab...
how to initialize a vector of structure
To preallocate memory, you need to put some values into the data structure that you are using. I think it's the design of Matlab...
거의 12년 전 | 0
답변 있음
Saving as a .txt file help
I would suggest you use cell array to store your strings with different lengths unless you have a particular reason to store the...
Saving as a .txt file help
I would suggest you use cell array to store your strings with different lengths unless you have a particular reason to store the...
거의 12년 전 | 0
답변 있음
How can I open all xml files?
First, I don't think Matlab's built-in importdata() function can handle XML file. You can use this package to read your xml data...
How can I open all xml files?
First, I don't think Matlab's built-in importdata() function can handle XML file. You can use this package to read your xml data...
거의 12년 전 | 0
답변 있음
Can I output a 2D plot as an interactive document?
Hi, I don't think you can distribute the interactive features without having your colleague access to Matlab. However, if the...
Can I output a 2D plot as an interactive document?
Hi, I don't think you can distribute the interactive features without having your colleague access to Matlab. However, if the...
대략 12년 전 | 0
| 수락됨
답변 있음
hi,, i'm new in matlab.. i want to draw using the mouse with this code, but this code can only make one line,, i want to make it more..,
Hi, The simplest way is initialising an axes object that imfreehand() function can draw on to, and put your function into an ...
hi,, i'm new in matlab.. i want to draw using the mouse with this code, but this code can only make one line,, i want to make it more..,
Hi, The simplest way is initialising an axes object that imfreehand() function can draw on to, and put your function into an ...
대략 12년 전 | 0
| 수락됨
답변 있음
Finding maximum value and it's location from the matrix
I think that's what you need: [max_num, max_idx]=max(K(:)); [X,Y]=ind2sub(size(K),max_idx); you need the input para...
Finding maximum value and it's location from the matrix
I think that's what you need: [max_num, max_idx]=max(K(:)); [X,Y]=ind2sub(size(K),max_idx); you need the input para...
대략 12년 전 | 4
답변 있음
Undefined function or variable
I would suggest you add a "else" statement in your first "if" block. It may be that your RGB components of the image you loaded ...
Undefined function or variable
I would suggest you add a "else" statement in your first "if" block. It may be that your RGB components of the image you loaded ...
대략 12년 전 | 0
답변 있음
Convert from matlab script to vb script
I don't think there's any off-the-shelf product that allows you to convert matlab code to VB. However, you can try convert yo...
Convert from matlab script to vb script
I don't think there's any off-the-shelf product that allows you to convert matlab code to VB. However, you can try convert yo...
대략 12년 전 | 0
문제를 풀었습니다
Pizza!
Given a circular pizza with radius _z_ and thickness _a_, return the pizza's volume. [ _z_ is first input argument.] Non-scor...
대략 13년 전
문제를 풀었습니다
Finding Perfect Squares
Given a vector of numbers, return true if one of the numbers is a square of one of the other numbers. Otherwise return false. E...
대략 13년 전
문제를 풀었습니다
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...
대략 13년 전
문제를 풀었습니다
Create times-tables
At one time or another, we all had to memorize boring times tables. 5 times 5 is 25. 5 times 6 is 30. 12 times 12 is way more th...
대략 13년 전
문제를 풀었습니다
Determine if input is odd
Given the input n, return true if n is odd or false if n is even.
대략 13년 전
문제를 풀었습니다
Make a checkerboard matrix
Given an integer n, make an n-by-n matrix made up of alternating ones and zeros as shown below. The a(1,1) should be 1. Example...
대략 13년 전
문제를 풀었습니다
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 ...
대략 13년 전
문제를 풀었습니다
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...
대략 13년 전
문제를 풀었습니다
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:...
대략 13년 전



