Respondida
HI All ,Here i want to Reshape 2D images into 1D image vectors , why i get this error ? Error using '?? Transpose on ND array is not defined. Error in testauto (line 14) temp = reshape(img',r*c,1); .please help its urgent Thanks.
Not enough information, but it is likely that the image you are reading is a color image and is actually r by c by 3. I will als...

más de 7 años hace | 0

| aceptada

Respondida
I have a 2 D matrix where each column is a set of data that is Weibull distributed. I want to use wblfit to get the parameters for each column of data without using for loop.
This should work faster than an explicit for loop: Result = splitapply(@(x1){wblfit(x1)},X,1:size(X,2)); Then each group...

más de 7 años hace | 0

| aceptada

Respondida
Merging several row vectors in a single matrix
Naming your vectors A1,A2,A3 ... then assembling them like this is very inefficient. You want to either load them directly into ...

más de 7 años hace | 0

| aceptada

Respondida
Compute that portion of a surface above a threshold
The problem here is that you appear to be committing a fundamental fallacy in how discrete data work. In your example case, you ...

más de 7 años hace | 0

| aceptada

Respondida
How can I give my fit plot the same color as the data points?
Not super clear description, a picture would help but: Are you sure you don't mean to use the 'Color' property instead of 'ma...

más de 7 años hace | 0

| aceptada

Respondida
how can I write the time function when I am plotting the convolution of two time continuous signals?
This question shows a lack of fundamental understanding of convolution. Make sure to read up on what convolution/correlation is ...

más de 7 años hace | 0

Respondida
machine learning and image segmentation
I will give you a very rough suggestion with many assumptions, but this is the best I can do with the given information. It shou...

más de 7 años hace | 0

Respondida
How can I convert known GPS coordinates to image pixels, and again image pixels to world GPS coordinates?
A simple start would be to get any two points: dx = abs(point2gpsx - point1gpsx)/abs(point2imagex - point1imagex) So by...

más de 7 años hace | 0

Respondida
How do I read multiple images into matlab and save them in cells?
This is not directly solving your problem, but if you use the following instead, it will either work, or help you better figure ...

más de 7 años hace | 0

| aceptada

Respondida
Using markup from an included file
I don't believe you can achieve this as easily as you want. The only way I can think of is: - Publish the markup file separat...

más de 7 años hace | 0

Respondida
max between 2 timeseries signals
Maybe C=max(A.Data,B.Data)? You problem definition is a little vague, what exactly are you trying to find?

más de 7 años hace | 0

Respondida
How can I create a generic vector containing other objects?
So you want a <https://www.mathworks.com/help/matlab/ref/cell.html Cell> array? Question is unclear.

más de 7 años hace | 0

Respondida
Plotting a line which would include 95% of points above and below the regression line
Find your residual vector. Use prctile() on the residual vector to find the points at your upper and lower bounds. Solve t...

más de 7 años hace | 0

| aceptada

Respondida
I need to produce a matrix that has one's along the diagonal from the upper right to the lower left
x(1:1:n,n:-1:1) =1; You cannot index points inside a matrix like that. MATLAB indexing reads like this: Matrix(a,b) => F...

más de 7 años hace | 1

Respondida
image processing with parallel computing gives incorrect results
I am not very knowledgeable with the implementation of ParFor, but I would wager a guess the problem is your indexing: specifica...

más de 7 años hace | 0

Respondida
Pulling matrix column data out of a cell
Say your Cell array is C: D = cell2mat(C); E = reshape(D(:),[500 29*6]); Now every 500 by 29 chunk in E is a matrix y...

más de 7 años hace | 0

| aceptada

Respondida
How can I create a cell array by combining arrays?
maybe this? <https://www.mathworks.com/help/matlab/ref/mat2cell.html mat2cell> it is unclear what you are trying to accompli...

más de 7 años hace | 1

Respondida
I'm trying to create a matrix of odd numbers, and I'm having some trouble. Any ideas? Thanks
You might have meant to do: odds = 1:2:lim as it is unclear what nums is in the scope of this function.

más de 7 años hace | 0

Respondida
Transformation of variables in regression
You can use my <http://www.mathworks.com/matlabcentral/fileexchange/34918-multivariate-polynomial-regression MultiPolyRegress>. ...

más de 7 años hace | 0

Respondida
What is the convolution of two probability distribution estimate (ksdensity in matlab)?
Use: [f,xi] = ksdensity(x,pts) To sample them at the same points, even if you have to sample a long tail of zeros to do ...

más de 7 años hace | 0

| aceptada

Respondida
3D Voxel mask from geometry/ does plane intersect with volume
Well, the first problem you define is slightly more problematic, but the actual task you mention is easier. A Voronoi tessell...

más de 7 años hace | 0

| aceptada

Respondida
How can a logical vector be converted to a numeric vector in which the values represent the number of zeros between ones?
Something along the lines of: x = [1;1;1;0;0;1;0;1]; inds = find(x); diffs = [inds(2:end);0]-inds; diffs(end) = 1; y...

más de 7 años hace | 0

| aceptada

Respondida
Interpolating between calling specific elements of the table
Had something like this already, here it is: function out=R134a(P,a) % Your Table M=[60 -36.9 0.0007098 0.3112 3...

más de 7 años hace | 0

| aceptada

Respondida
How to reduce the rmse for a fit obtained using curve fitting toolbox
Read up on the concepts of Overfitting, Underfitting, Variance and Regression. You are fitting a function of 3 variables to 3 da...

más de 7 años hace | 0

| aceptada

Respondida
reconstruct 3D image
Too vague to answer directly, but here are two helpful tips: 1) Whatever you are doing, in the end you need to stack the imag...

más de 7 años hace | 0

Respondida
Convolution of 2 image
See if the first half of this helps: <https://ahmetcecen.github.io/blog/class/2016/10/04/Filtering/> Convolution and filte...

más de 7 años hace | 0

Respondida
Hello! I am new to matlab. I just want to execute a simple GUI code in which i can display an image from base workspace through callback function(pushbutton1).
I don't have the time to write the actual thing here at the moment, but check one of my simpler GUIs here to see how it is done:...

más de 7 años hace | 0

Enviada


Image Correlation and Convolution for Large Data
Applies a Patched Convolution Scheme to compute 2D and 3D image auto and cross correlations.

casi 8 años hace | 4 descargas |

Thumbnail

Cargar más