Risposto
Smart indent and comments
if true a = 1 % a = a+1 disp(a) end Is the customary way to comment a line, so that you can see a line is comm...

quasi 8 anni fa | 1

Risposto
how to draw a 3-D frequency Distribution map with 3 differentlabels?
This is a very lazy solution, and there will be some tearing in graphics so you have to move the view around to get it right: ...

quasi 8 anni fa | 0

| accettato

Risposto
Perspective and STLs: how to create thinning edges along a 3D shape?
Simply writing: R = view; will yield a proper rotation matrix for the current view like: 0.4384 0.8988 ...

quasi 8 anni fa | 0

| accettato

Risposto
I need to insert multiple 32x32 arrays into 1024x1024 array at predetermined random locations. How to do this efficiently?
If your small array will always be the same, you might be able to do this lightning fast with a convolution. Instead of using th...

quasi 8 anni fa | 1

Risposto
segmentation is after reconstruction of 3D volume (from a stacks of 2D images) or before
Depends on how those stacks were obtained. Segmentation in 3D is much harder than in 2D, but allows for much higher accuracy ove...

quasi 8 anni fa | 0

Risposto
Creating a Matrix from a given Vector.
Check "diag" function.

quasi 8 anni fa | 0

Risposto
Can i use function get.handles in prompt?
If you put a dbstop in the script, you can access "handles" and associated methods.

quasi 8 anni fa | 0

Risposto
Is there a way for creating n number of new rows from one row?
A much more robust version of that reference answer, especially if you need to repeat every row the same amount of times, and yo...

quasi 8 anni fa | 0

Risposto
How to easily detect all the equal rows of an array with saving the indices of the elements?
This does all of that: [C,ia,ic] = unique(A,'rows')

quasi 8 anni fa | 0

Risposto
Help diagnosing PC restart issue while computing matrix pseudo inverse
Your machine wouldn't just restart for insufficient memory, and in the case of faulty memory, the machine usually freezes. If yo...

quasi 8 anni fa | 0

Risposto
How can I get all text from a website, NOT the html of the website?
http://www.mathworks.com/matlabcentral/answers/98555-how-can-i-read-an-html-file-into-matlab-and-discard-the-html-tags

quasi 8 anni fa | 0

| accettato

Risposto
What is the mathematical proof for the formula to find angle between 3 points in an image?
https://en.wikipedia.org/wiki/Scalar_projection https://en.wikipedia.org/wiki/Cross_product Get the expression for sine an...

quasi 8 anni fa | 0

Risposto
how to insert the column [60;80] into the third column
A(:,3) = A(:,3) + [60;80];

quasi 8 anni fa | 0

Risposto
How can I read the elements of an array backwards?
It appears to me that you are trying to do something very simple in a very convoluted way, probably due to programming practices...

quasi 8 anni fa | 1

| accettato

Risposto
Segmenting bones using Neural Network
If you do enough of these by hand first (different extreme cases hopefully around 25), you can create a library of bones, as I i...

quasi 8 anni fa | 2

Risposto
Deleting rows until a certain point
You can find the point by something along the lines of (you also pay attention to the dimensions of vectors, I didn't): data...

quasi 8 anni fa | 1

Risposto
How can i start one program from another and then run them parallelly?
Chekout "parfeval": http://www.mathworks.com/help/distcomp/parfeval.html

quasi 8 anni fa | 0

| accettato

Risposto
Multi-feature matrix regression?
Use the function I created expressly for this purpose. And you are in luck, a lightning fast Leave One Out Cross Validation is a...

quasi 8 anni fa | 0

| accettato

Risposto
Image Prcoessing - Automatic Region of Interest Extraction - Help!!
Ok here is what I could do in 5 mins with my above suggestions and a little more: 1. Get Blue channel with the green line on ...

quasi 8 anni fa | 0

| accettato

Risposto
I have an m file routine. How can I store the file along with its calling m file tree?
Try [fList, pList] = matlab.codetools.requiredFilesAndProducts(MainRoutines);

quasi 8 anni fa | 0

Risposto
Optimization code. One line takses 86% of working time.
for k = 1 : K IND = label_n == k; prob_k = Probability(k); grad(k,:) = grad(k,:) ...

quasi 8 anni fa | 1

Risposto
Image Prcoessing - Automatic Region of Interest Extraction - Help!!
Since you didn't provide a clean image, I can only speculate. My strategy would be: # The region of interest seems "bluer" th...

quasi 8 anni fa | 0

Risposto
corr2 function with complex vectors.
If you have 2 complex vectors, why not just use corr instead? It should give you a valid coefficient.

quasi 8 anni fa | 0

Risposto
Correlation between two datasets
There are 3 ways I am aware of that you can do this: # You find a way to make them have the same number of points and use the...

quasi 8 anni fa | 0

Risposto
How to work with big data?
Use: M = dlmread(filename,delimiter,[R1 C1 R2 C2]) To access the file in chunks.

quasi 8 anni fa | 0

| accettato

Risposto
What is the matlab code for this R code?
if DD>0 IC1= (-B-sqrt(DD))/(2*A) IC2= (-B+sqrt(DD))/(2*A) if A>0 rej_fi=rej_fi+(Theil0>IC2 || Theil0<IC1)...

quasi 8 anni fa | 0

| accettato

Risposto
How can I write a large audio file without having to store the whole thing in memory at once?
I don't believe a piece-wise write exists yet for audio files. Until a better answer shows up, I would suggest: # If your mem...

quasi 8 anni fa | 1

Risposto
how to make a row into a one element
The other answer will only work for a very limited set of problems, and will break with even the slightest change, like having a...

quasi 8 anni fa | 0

Risposto
Find unique rows in cell array with mixed data types
I cannot recreate your problem. Here is what I did: AA = {'A','B','A','C'}; BB = [1 2 1 1]; CC= [true,true,true,false]; ...

quasi 8 anni fa | 2

| accettato

Risposto
How to combine two images based off matched features?
Seems like you have the indices of the matched features in both images. If you are certain no rotation is required, then you can...

quasi 8 anni fa | 0

Carica altro