![photo](/responsive_image/150/150/0/0/0/cache/matlabcentral/profiles/2022738_1522088625679_DEF.jpg)
Daniell Algar
Chalmers University of Technology
2012 年からアクティブ
Followers: 0 Following: 0
Professional Interests: Image processing, Matlab
統計
All
Feeds
解決済み
Swap the first and last columns
Flip the outermost columns of matrix A, so that the first column becomes the last and the last column becomes the first. All oth...
11年以上 前
解決済み
Find all elements less than 0 or greater than 10 and replace them with NaN
Given an input vector x, find all elements of x less than 0 or greater than 10 and replace them with NaN. Example: Input ...
11年以上 前
解決済み
Column Removal
Remove the nth column from input matrix A and return the resulting matrix in output B. So if A = [1 2 3; 4 5 6]; and ...
11年以上 前
解決済み
Select every other element of a vector
Write a function which returns every other element of the vector passed in. That is, it returns the all odd-numbered elements, s...
11年以上 前
解決済み
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...
11年以上 前
解決済み
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:...
11年以上 前
解決済み
Most nonzero elements in row
Given the matrix a, return the index r of the row with the most nonzero elements. Assume there will always be exactly one row th...
11年以上 前
回答済み
Distance between 2 points in an image.
You could be more specific but.. The simplest case might be to just use the Data Cursor. It's in the toolbar already.. Click...
Distance between 2 points in an image.
You could be more specific but.. The simplest case might be to just use the Data Cursor. It's in the toolbar already.. Click...
11年以上 前 | 0
回答済み
How to display X-tick labels vertically using GPLOT?
Not sure if this solution fit your data - but if you know how to set the 'XTicksLabelStyle' within the plot function, why not do...
How to display X-tick labels vertically using GPLOT?
Not sure if this solution fit your data - but if you know how to set the 'XTicksLabelStyle' within the plot function, why not do...
11年以上 前 | 1
| 採用済み
回答済み
How to make smooth surface across U-shaped object
I can add for future reference that I solved it by correcting a bug from the code above. The variable tri should have been ...
How to make smooth surface across U-shaped object
I can add for future reference that I solved it by correcting a bug from the code above. The variable tri should have been ...
11年以上 前 | 0
| 採用済み
質問
How to make smooth surface across U-shaped object
Hi! I have a set of data, say z(x,y), that could simply be thought of as a "U" shape in the (x,y)-plane, extended in the z-pl...
11年以上 前 | 1 件の回答 | 0
1
回答質問
Fetch Data Cursor on figure update
Hi. I've re-directed the Data Cursor callback to my own function. In there I like to re-draw a figure given new x,y-values ...
11年以上 前 | 0 件の回答 | 0
0
回答回答済み
how to get processed image at another location than MATLAB figure window
doc imrwrite
how to get processed image at another location than MATLAB figure window
doc imrwrite
11年以上 前 | 0
回答済み
how can select a region in image?
Sounds like you want the function imfreehand. Steve has posted about this befor, see e.g. <http://blogs.mathworks.com/steve/...
how can select a region in image?
Sounds like you want the function imfreehand. Steve has posted about this befor, see e.g. <http://blogs.mathworks.com/steve/...
11年以上 前 | 0
回答済み
I face the error "Too many input arguments." Please help me
Well, those lines looks fine to me. It's probably other line's who's raising the error.
I face the error "Too many input arguments." Please help me
Well, those lines looks fine to me. It's probably other line's who's raising the error.
11年以上 前 | 0
回答済み
How to graph ln(x^2)=0.7?
Well, to plot the point f(x)= 0.7, I guess you would need to use a solver, e.g. ode45. To just plot the function, you first ...
How to graph ln(x^2)=0.7?
Well, to plot the point f(x)= 0.7, I guess you would need to use a solver, e.g. ode45. To just plot the function, you first ...
11年以上 前 | 0
回答済み
How to convert dataset variables from cell?
If I understand your data correct, then it's more a question of how you acces the data, than how to convert the data. For instan...
How to convert dataset variables from cell?
If I understand your data correct, then it's more a question of how you acces the data, than how to convert the data. For instan...
11年以上 前 | 0
質問
Multiple plot handles to the same figure
Hi, I have two handles created with something like, hTri= trimesh(); hFill= fill3(); where two figures act as paren...
11年以上 前 | 2 件の回答 | 0
2
回答回答済み
*why* easter egg in MATLAB
This is quite the ugly solution but. Open a script, paste diary('whyText.txt') for i= 1: 10 why end ...
*why* easter egg in MATLAB
This is quite the ugly solution but. Open a script, paste diary('whyText.txt') for i= 1: 10 why end ...
11年以上 前 | 0
回答済み
remove rows from a matrix on a specific condition
Try A= [ 5 3 3 1 4; 6 6 3 1 0; 6 2 2 2 0; 4 2 3 2 0; 1 1 1 1 2 ] A(A(:, 5)== 0, :)= []
remove rows from a matrix on a specific condition
Try A= [ 5 3 3 1 4; 6 6 3 1 0; 6 2 2 2 0; 4 2 3 2 0; 1 1 1 1 2 ] A(A(:, 5)== 0, :)= []
11年以上 前 | 8
| 採用済み
質問
Set x, y, z data in trimesh without re-plotting
Hi there, I'm working on a function that plots a set of data continuously during mouse press. I draw the data with (in short)...
11年以上 前 | 0 件の回答 | 0
0
回答質問
Eliminating outer for-loop
Hi, I have an outer for-loop that I can't manage to get rid of. Code as follows for t= 1: epochs ... code ...
11年以上 前 | 1 件の回答 | 0
1
回答解決済み
Poker Series 11: selectBestHand
The Poker Series consists of many short, well defined functions that when combined will lead to complex behavior. Our goal is t...
12年以上 前
解決済み
Poker Series 10: bestHand
The Poker Series consists of many short, well defined functions that when combined will lead to complex behavior. Our goal is t...
12年以上 前
解決済み
Poker Series 09: IsHighCard
The Poker Series consists of many short, well defined functions that when combined will lead to complex behavior. Our goal is t...
12年以上 前
解決済み
Poker Series 08: IsPair
The Poker Series consists of many short, well defined functions that when combined will lead to complex behavior. Our goal is t...
12年以上 前
解決済み
Poker Series 07: IsTwoPair
The Poker Series consists of many short, well defined functions that when combined will lead to complex behavior. Our goal is t...
12年以上 前
解決済み
Poker Series 06: isThreeKind
The Poker Series consists of many short, well defined functions that when combined will lead to complex behavior. Our goal is t...
12年以上 前
解決済み
Poker Series 05: isStraight
The Poker Series consists of many short, well defined functions that when combined will lead to complex behavior. Our goal is t...
12年以上 前