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

circa 14 anni fa | 0

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

circa 14 anni fa | 0

| accettato

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

circa 14 anni fa | 0

| accettato

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

circa 14 anni fa | 0

| accettato

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

circa 14 anni fa | 0

| accettato

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

circa 14 anni fa | 0

Domanda


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

circa 14 anni fa | 0 risposte | 0

0

risposte

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

circa 14 anni fa | 2

| accettato

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

circa 14 anni fa | 0

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

circa 14 anni fa | 0

| accettato

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

circa 14 anni fa | 0

Risposto
How to Convert A Matrix into Excel format
Look at the |xlswrite| function. doc xlswrite

circa 14 anni fa | 0

| accettato

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

circa 14 anni fa | 0

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

circa 14 anni fa | 0

| accettato

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

circa 14 anni fa | 0

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

circa 14 anni fa | 0

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

circa 14 anni fa | 0

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

circa 14 anni fa | 2

| accettato

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

circa 14 anni fa | 0

| accettato

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

circa 14 anni fa | 2

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

circa 14 anni fa | 0

| accettato

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

circa 14 anni fa | 0

| accettato

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

circa 14 anni fa | 0

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

circa 14 anni fa | 0

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

circa 14 anni fa | 0

| accettato

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

circa 14 anni fa | 1

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

circa 14 anni fa | 0

Risolto


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

circa 14 anni fa

Risolto


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

circa 14 anni fa

Risolto


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

circa 14 anni fa

Carica altro