已回答
how to divide image into 16 block ?
Have you checked <http://www.mathworks.com/help/images/ref/im2col.html im2col()>? Let's say you want to divide your image i...

10 years 前 | 0

| 已接受

已回答
How to collect coefficients of the same powers?
check if <http://www.mathworks.com/help/symbolic/collect.html collect()> works for you.

10 years 前 | 0

| 已接受

已回答
How can i implement the NN algorithm ?
*Some code like this would do the job:* %% Loading data load('wine.data'); % first column stores the wine class...

10 years 前 | 2

| 已接受

已回答
what is the difference between one backslash (\) and double backslashes (\\) when defining a path?
that's how on windows machine the server is defined. \\servername\shared_resource\subfolder_on_that\sub_sub_folder_in_that\an...

10 years 前 | 1

| 已接受

已回答
how to convert 8x8 matrix into image?
do the inverse dct or <http://www.mathworks.com/help/signal/ref/idct.html idct()>.

10 years 前 | 0

| 已接受

已回答
How to normalize curves such that area under curve=1?
divide all numbers by the area that you calculate using Trapz. x=0:0.1:pi; y=sin(x); Area=trapz(x,y) Area = ...

10 years 前 | 1

| 已接受

已回答
How is this written?
x=2; y= sin(2*x)/5 + sin(x).^2 - 2*sin(x).*cos(x);

10 years 前 | 1

| 已接受

已回答
How to divide a long vector into several vectors of known length
IDX = [1 2 1 3 4 3 1 2 1 35 4 2 78]; a = {[3 2 2 1 2] [2 1 2 2] [1 2 3 4]}; % first get the numel(a{k}) as a ve...

10 years 前 | 2

| 已接受

已回答
how can i read multiple images from a folder?
If you have Computer Vision Toolbox you can use <http://www.mathworks.com/help/vision/ref/imageset-class.html imageset()>. If...

10 years 前 | 1

| 已接受

已回答
INSTALLLATION KEY and LICENSE KEY
Ask the administrator for those. If you have purchased MATLAB on your own account refer to your account and go under manage m...

10 years 前 | 1

| 已接受

已回答
not choosing random numbers from the range specified
Because that's not how that function is called. If you want to randomly select 10 numbers within the range of 50 and 100 this...

10 years 前 | 0

| 已接受

提问


saveas or print in EPS
Hi, I just upgraded to 2014b; While I like the new colormaps but it seems that some of the functions have changed their beha...

10 years 前 | 2 个回答 | 1

2

个回答

已回答
Fill matrix with zeros
A: is the Fixed Sized Matrix B: is the Variable Sized Matrix A(:,1) .* [B(1:min(size(A,1),size(B,1)),1); zeros(size(A,1)...

10 years 前 | 0

| 已接受

已回答
Fill in boundaries in Image
Ok, but the red lines is pretty much the boundary of the regions in the binary image stored in the variable called back, right? ...

10 years 前 | 1

| 已接受

已回答
How can I delete rows from matrix in matlab?
Let's say you want to delete the r-th row from matrix A. This should work: A=A([1:r-1 r+1:end],:)

10 years 前 | 0

| 已接受

已回答
please help me , what is color segmentation steps
Well there are multiple approaches. You could do an entire thesis on this subject. These are some of the examples: http://ww...

10 years 前 | 1

| 已接受

已回答
What does ./ mean in matlab?
look at <http://www.mathworks.com/help/matlab/ref/rdivide.html redivide().> From MATLAB HELP: x = A./B divides each element ...

10 years 前 | 2

| 已接受

已回答
Stitching sub images to reconstruct full image
Again, why don't you use <http://www.mathworks.com/help/images/ref/blockproc.html blockproc()>? :D what you are asking, i.e. ...

10 years 前 | 3

| 已接受

提问


Warning when using 'Box','off' in legend and the box of the legends keeps showing!
Does any one know why the following error is generated and the box of the legend is still showing? x=0:0.1:2*pi; y1=sin(...

10 years 前 | 1 个回答 | 0

1

个回答

已回答
Partial derivative of a matrix
For simple cases use MATLAB's <http://www.mathworks.com/help/matlab/ref/gradient.html gradient()> function. Assuming you have a ...

10 years 前 | 3

| 已接受

已回答
How to read ASCII grid format
Since you already have Mapping Toolbox, the easiest is to use <http://www.mathworks.com/help/map/ref/pix2latlon.html pix2latlon(...

10 years 前 | 3

| 已接受

已回答
How to read ASCII grid format
Use <http://www.mathworks.com/help/map/ref/arcgridread.html arcgridread()>. A bit of explanation for ESRI Arc ASCII Grid Form...

10 years 前 | 0

已回答
netcdf function is not working and the program keep showing this message
Well, you are using the command wrong. *netcdf(file_name)* is not a command. Note that MATLAB version 2010a was only suppo...

10 years 前 | 0

| 已接受

已回答
Basic Shift Cipher Decryption Algorithm HELP!
Use mode or reminder to loop over certain range of numbers. Something like this: % A --> 65 % Z --> 90 % a --> 97 ...

10 years 前 | 2

| 已接受

已回答
how can i split an image into 25 blocks using for loop?
B = im2col(your_image,[m n],'distinct'); B=B(:)'; m and n are the image block sizes. B at the end is one row vector w...

10 years 前 | 0

| 已接受

已回答
Mean line of object boundary
Another Approach could be this: B1=bwmorph(logical( round( double(imread('1_1.bmp'))/255 ) ),'skel','inf'); B2=bwmorph...

10 years 前 | 0

| 已接受

已回答
Get structure elements across fields
% Making sample data s(1).field1=1; s(1).field2=2; s(1).field3=3; s(2).field1=4; s(2).field2=5; s(2).field3=...

10 years 前 | 1

| 已接受

已回答
how to select a specified region in an image based on location and calculate its area
use <http://www.mathworks.com/help/images/ref/roipoly.html p=roipoly()> to draw a polygon around the area you want to measure it...

10 years 前 | 0

| 已接受

已回答
Interpolating a whole matrix
% Making a sample data set A(1,:,:)=ones(3,3); A(2,:,:)=ones(3,3)*2; A(3,:,:)=ones(3,3)*3; %% time=0.1:0.1:...

10 years 前 | 0

| 已接受

已回答
2D Transient Heat Conduction with neumann condition
Are you using MATLABs PDE solver? or do you have a special code for yourself. How you impose a boundary condition is highly d...

10 years 前 | 0

| 已接受

加载更多