回答済み
Image segmentation problem, need help
That's a cool problem. I would tend towards a solution that involved filling the 'empty' region from your thresholded 3rd image...

13年以上 前 | 0

回答済み
Order cell array
There's a couple of ways to do this... I assume you want the numbers in ascending order. This works, but relies on the stabili...

13年以上 前 | 0

| 採用済み

回答済み
problem with rotation matrix
Your code works fine, but you're just not plotting it correctly. plot(obstacle_shape(:,1), obstacle_shape(:,2)); You m...

13年以上 前 | 0

| 採用済み

回答済み
Contour plot of spatial distribution of temperature
I would start by removing the invalid readings: archivo( archivo(:,5) < -999, : ) = []; You need to have a higher (and u...

13年以上 前 | 0

| 採用済み

回答済み
Vector against a mirror
From memory... I could be wrong here. Make sure your incoming ray |R| and surface normal |N| (which points out) are both uni...

13年以上 前 | 0

| 採用済み

回答済み
Trouble finding end of a column in Matlab using xlsread
Do you mean this? while( ~isempty(alldata{i,4}) && i < (x-1) )

13年以上 前 | 0

質問


MatLab and virtual memory... Who leaked on my disk?
I ran a big job over the weekend, and got back to work this morning to find it was (quite unexpectedly) only 25% complete. Sinc...

13年以上 前 | 0 件の回答 | 0

0

回答

回答済み
secd vs sec
Because your data ranges are different. The area underneath the curve spanning |-89.5:0.001:89.5| is approximately |180/pi| t...

13年以上 前 | 2

| 採用済み

回答済み
I have written a code please help me in getting the output .
Is the output wave supposed to be 8-bit? That's exceptionally grungey... I don't use these wave file functions, but I expect t...

13年以上 前 | 0

回答済み
matlab 2011b installation problems
Do you have the whole MatLab installation inside a zip file? Normally it comes with a self-extracting executable called somethi...

13年以上 前 | 0

| 採用済み

回答済み
Windows 7 GUI issue
I have absolutely no problem in R2012a on Windows 7 with the following code: f = figure; set(f, 'Position', [0, 0, 1920,...

13年以上 前 | 0

回答済み
How to Convert A Matrix into Excel format
Look at the |xlswrite| function. doc xlswrite

13年以上 前 | 0

| 採用済み

回答済み
mysolve help
Does it work? What specific answer do you require? I can offer a couple of things just from a quick glance... Your comment ...

13年以上 前 | 0

回答済み
Save one image as part of a larger image
Let's just assume that all your images are in a 3D matrix and you want to slap them onto a canvas: canvas = zeros(1000, 512...

13年以上 前 | 0

| 採用済み

回答済み
Dumb mistakes we make with MATLAB.
Corrupting years of experience in other languages... After using MatLab for several months now, I find that when I go back to...

13年以上 前 | 0

回答済み
Histogram?
It's sorta weird to take the histogram of a 2D image... I don't know what it's going to tell you... Well, maybe it's not weird...

13年以上 前 | 0

回答済み
Matching intermittant data to regular time base
I'm just throwing this out there... Here's what I do to match my weather data to a specified time scale. I do actually throw a...

13年以上 前 | 0

回答済み
importdata skips the last few rows?
That's odd... Confirmed in my own 2012a. It appears to be trimming all the entirely NaN rows from the end of your data. I...

13年以上 前 | 2

| 採用済み

回答済み
Urgent! .....Compass plot
Why is this urgent? Try this: set(gca,'xdir','reverse') Or if you want the zero on the right as normal, do this inste...

13年以上 前 | 0

| 採用済み

回答済み
reducing resolution of an image
Think about it... If you half the width and height, that means each group of 2x2 pixels becomes one pixel. You average the p...

13年以上 前 | 2

回答済み
Limit to Textscan?
Thanks for clarifying what your data looks like. I assume that comma immediately after the '4' is a mistake. You could proba...

13年以上 前 | 0

| 採用済み

回答済み
plotyy how to make yaxis align at zero
Well, if I plot some test data: [ax, h1, h2] = plotyy([1 2 3], [-1 5 6], [2 3 4], [-2 1 -1]/2); I get back two axis hand...

13年以上 前 | 0

| 採用済み

回答済み
Generate 0 and 1
I wouldn't do this using the |double| version of |rand|. While it's not really incorrect to use |rand| for this, I would use |r...

13年以上 前 | 0

回答済み
Limit to Textscan?
I doubt there is a limit for the tiny numbers you're talking about. What I expect has happened is that |textread| encountered...

13年以上 前 | 0

回答済み
how to delete NaN from a column of data
If all you want is the mean, just use |nanmean|: help nanmean There are a bunch of functions that explicitly ignore NaN ...

13年以上 前 | 0

| 採用済み

回答済み
groupby of one column
Selection is different from grouping. If you just want |instance_no| and |delays| where |message_no=2|, you can do this (assumi...

13年以上 前 | 1

回答済み
Detect different colors in RGB colorspace
Are you trying to detect a specific colour? All you are doing here is thresholding, and your code is going to detect anything t...

13年以上 前 | 0

解決済み


Who Has the Most Change?
You have a matrix for which each row is a person and the columns represent the number of quarters, nickels, dimes, and pennies t...

13年以上 前

解決済み


Return the largest number that is adjacent to a zero
This example comes from Steve Eddins' blog: <http://blogs.mathworks.com/steve/2009/05/27/learning-lessons-from-a-one-liner/ Lear...

13年以上 前

解決済み


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...

13年以上 前

さらに読み込む