Question

Solve using trig identity?

Is it possible to solve the following using trigonometry identities? sqrt((-3+4cos(w))^2) Alternatively sqrt((1-4/3cos...

mer än 4 år ago | 0 answers | 0

Question

Is it possible to show the x,y axis values for an image?

I m trying to use an image from matlab in a paper, but I want to show the x,y axis. However when you use imshow(myImage); it doe...

mer än 4 år ago | 1 answer | 0

Question

Use the return value of of the function lscov for weighted least squares?

After looking at the matlab example using the function lscov for the weighted least squares type, I was trying to use the return...

ungefär 5 år ago | 1 answer | 0

Question

Can someone explain how the mean and standard deviation are defined for normpdf from the following matlab example?

I m looking at the following example, http://fr.mathworks.com/help/stats/examples/bayesian-analysis-for-a-logistic-regression-m...

ungefär 5 år ago | 1 answer | 1

Question

If I have a set of values and I identify the probabiltiy density function, how do I get the smallest distance from a set of distances that correspond to those values?

the_values = [200,215,250,350,400,450,550,650,750]; dist_1 = [10,20,30,40,50,60,70,80,90,100]; M = mean(the_valu...

mer än 5 år ago | 0 answers | 0

Question

Get the minimum residual and the minimum distance in terms of the x axis using solver functions?

I have a set of linear data and I used regression to best fit the data. I m trying to identify the data point that has the small...

mer än 5 år ago | 0 answers | 0

Question

The most likely point closest to best fit line?

So I m using regression to best fit a plot of data. Each data point is represented by distance and value. If the residuals are d...

mer än 5 år ago | 1 answer | 0

Question

Identify highest probability in regression analysis?

I was studying the matlab example for logistic regression linked below and under the heading "Evaluating the Model Predictions" ...

mer än 5 år ago | 0 answers | 0

Question

Search data in cell array from disk?

So I v got a cell array saved as a .mat file. I have been loading this into ram and using this cell array but I have been having...

mer än 5 år ago | 1 answer | 0

Question

Probability using binomial probability?

Suppose I have a field of points, where I want to find the most likely location of a point. If I have 400 points then obviously ...

mer än 5 år ago | 2 answers | 0

Question

Generate a mathematical funciton from a graph or raw data?

I m used to using mathematical functions however if I want to describe raw data as a mathematical function I m not really sure w...

mer än 5 år ago | 1 answer | 0

Question

Sort one set of data to correspond to another.

Say I have an ordered set of data. a = [100,200,300,400,500]; And say I have another set of data, b = [300,200,500,40...

mer än 5 år ago | 3 answers | 0

Question

Get the common lowest values of 2 datasets?

I have 2 datasets, a = [ 6.7082 5.3852 3.0000 4.1231 3.1623 7.0711 4.0000 1.0000 1.0000 5.0990 ...

mer än 5 år ago | 1 answer | 0

Question

Change the timer of fopen for a tcp/ip object?

I m trying to connect to a dynamic ip address so I m guessing a range of ip addresses by iterating through a range. So basically...

mer än 5 år ago | 0 answers | 0

Question

Auto connect to a wifi module from matlab?

So I have a wifi module that uses a static IP address to connect to matlab using the TCP/IP toolbox. However it is desirable for...

mer än 5 år ago | 0 answers | 0

Answered

When you dilate and erode a binary image of a skeleton does the skeleton keep its proportion?

So I think I v found a way to do it. Its working for now, but still have to test it out on a bigger scale. So what i did was the...

When you dilate and erode a binary image of a skeleton does the skeleton keep its proportion?

So I think I v found a way to do it. Its working for now, but still have to test it out on a bigger scale. So what i did was the...

mer än 5 år ago | 0

| accepted

Question

Find unique rows comparing 2 colums?

% code a = [1,200,400; 2,222,410; 3,300,409; 4, 90, 100; 5, 320, 420; 6, 200, 400; 7, 2...

mer än 5 år ago | 1 answer | 0

Question

When you dilate and erode a binary image of a skeleton does the skeleton keep its proportion?

I have subtracted a pixel off the ends of a skeleton on a binary image. To get the skeleton back to the way it originally was I ...

mer än 5 år ago | 3 answers | 0

Question

Know which branchpoints are connected to other branchpoints?

If I get a skeleton of a binary image and return the branchpoints I want to know which ones are connected to which. eg if I have...

mer än 5 år ago | 0 answers | 0

Question

Find branches in a skeleton?

When you make a skeleton from a binary image you can extract branch points. However I m trying to find out which branch points a...

mer än 5 år ago | 1 answer | 0

Question

Sort the order of branch points to the end points of a binary skeleton image?

So I m trying to order the branch points to the end points from start to end that are extracted from a skeleton binary image. Wh...

mer än 5 år ago | 0 answers | 0

Question

im2graph, Maximum variable size allowed by the program is exceeded?

I m trying to run the dijkstra algorithm for shortest path for an image. Many of the dijkstra examples available use graphs. And...

mer än 5 år ago | 0 answers | 0

Question

Is it possible to thicken lines of a binary image without thickening the ends?

I m trying to thicken white lines on a binary image using the function bwmorph(myImage, 'thicken') however when the end...

mer än 5 år ago | 1 answer | 0

Question

Express the sum of squares as a percentage of how well two signals match?

So I am using matlab to compare two signals using the sum of squares. So I assume the best possible match will be zero. eg ∑(y2−...

mer än 5 år ago | 1 answer | 0

Question

Read a split integer in matlab sent over TCP?

So i m sending an integer over tcp using arduinos Serial.write() function. This function can only write 1 byte at a time meaning...

nästan 6 år ago | 1 answer | 0

Question

How do i define a signal from 2 sets of data or two row vectors?

So this seems like a basic question. I have a vector for x values and a vector for y values and i want to use this as a signal/f...

nästan 6 år ago | 1 answer | 0

Question

Tell the format of bytes sent via tcp?

I m sending a number of integers wirelessly to matlab and I want to know when its finished. So i have been using the code while(...

nästan 6 år ago | 2 answers | 0

Question

Should the best cross correlation value be the larger or smaller?

If i use the xcorr function to get the max cross correlation of signal s1 compared to s2 and then i compare the cross correlatio...

ungefär 6 år ago | 1 answer | 0