Answered
Finding Principal components from eigen vector matrix
There are multiple answers related to your question. Have you checked <https://in.mathworks.com/matlabcentral/fileexchange/38...

8 years ago | 0

Answered
Error using * Inner matrix dimensions must agree.
fderL=1-(9.81*T.^(2*d.*(tanh((2*pi*d)/L).^2-1))/(L.^2));

8 years ago | 0

| accepted

Answered
How to find value on the graph
B=[1 0.9286 0.8571 0.7857 0.7143 0.6429 0.5714 0.5 0.4286 0.3571 0.2857 0.2143 0.1429 0.0714 0 -0.0714 -0.1429 -0.2143 -0.2857...

8 years ago | 0

Answered
Random image display script
full_images=dir(fullfile(pwd,'*.jpg')); % Note on your format and keep in currect directory for i=40 %random number gener...

8 years ago | 1

Answered
how to divide an image into 8*8 non overlapping blocks.
reshape(a,8,8,[])

8 years ago | 1

| accepted

Answered
Output Matrix in For Loop duplicates. Why?
In the second case, you can do this way A=[3 6 8 10 12]; B=[0;A']; sum1=0; [rows colm]=size(B); for i=1:rows-1 ...

8 years ago | 0

Answered
Reducing size of image
function reduced_image=reducesize(imagematrix,amount) [rows colm]=size(imagematrix); x=randi(rows); y=round(amount...

8 years ago | 0

Answered
Replacing For loop with Conv2 In edge detection to make it run faster
If you looking for the more faster code, then look at the user-defined function <https://in.mathworks.com/matlabcentral/fileexch...

8 years ago | 0

| accepted

Answered
show images contained in a cell array in a single window with montage?
Here im_array is the cell array montage(im_array)

8 years ago | 0

Answered
May i get a command or code for extracting random and nonrepeating numbers from an array of numbers ? like from the data given below
C=unique(T,'stable'); -------------------- T=[1 25 14 2 78 25 13 5 2 ]; >> T=unique(T,'stable') T = 1 ...

8 years ago | 1

| accepted

Answered
How can you create a metric using ones, zeros, eye
Just manual you can do that, as I don't find the relationships between elements. apart from just in the second row, 1 position ...

8 years ago | 1

| accepted

Answered
How to get column function result into separate variables?
_But is it possible to do something like:_ No, size(X) returns the row vector [1 1]. A=rand(2); [a;b]=size(A)';...

8 years ago | 0

Answered
how to update my new mass flow rate value to the previous value in the loop
*Please note that total numbers of iterations depending on how fast the value Tsintial increasing, maybe it takes a very long ti...

8 years ago | 0

Answered
is it possible that answers can be accepted?
Sir, Yes it is Possible, I have experienced the same.

8 years ago | 0

Answered
Order of logical operators
Here Logic is false 1 < 5 > 2 1<5 gives 0 and 0>2 false so Ans 0 If you do others 3>2>0 gives you 1 ...

8 years ago | 0

Answered
how to perform false coloring without gray scale conversion?
More clarification needed, though I am trying to figure out what you looking for. %You can directly force the particular value ...

8 years ago | 1

Answered
How to concatenate the rounded digits of a number and a string?
x=1.361620214248647; star='***'; xstar=sprintf('%f%s',round(x,3,'significant'),star)

8 years ago | 0

Answered
Difficulty in applying huffman encoding for image compression
When I have tested your code with the test image, both symbols and p have different sizes (see in the attached image) Read the d...

8 years ago | 0

Answered
Is there any way to detect horizontal and vertical edges ?
There are the numbers of ways, it depends on what result you are looking for. Check <https://in.mathworks.com/help/images/ref...

8 years ago | 0

| accepted

Answered
For loop with Else statement
for i=1:100 if b(i)>1 do something else do something else end end No, *this cant,* *...

8 years ago | 0

Answered
Adding two graph using convolution
Are you want to just add the two plots? If yes then Just add the two plots like y1+y2 plot(X2+G2_recording(1),(G1_efficienc...

8 years ago | 1

Answered
How can I make matrix dimensions to agree?
That means F =F-YDATA must be in the same dimension. Please ensure that F and TDATA must be same before doing subtraction ope...

8 years ago | 0

| accepted

Answered
hello sir,i am new in matlab.By using imhist show an error
%I have tested it with a different image, *No error* RGB=imread('1.jpg'); redvalue=RGB(:,:,1); greenvalue=RGB(:,:,...

8 years ago | 1

| accepted

Answered
Edge function error while loop video frames, VideoReader - Index in position is invalid
% I have tested it with the different video file, *change edge name to different ones, like edge1* , as edge is the inbuilt func...

8 years ago | 0

| accepted

Answered
how can I calculate the False Rejection Rate (FRR) and the False Acceptance Rate (FAR) for biometrics applications?
If you have test 100 images to test the biometric security system. Suppose if it wrongly accepts 10 users to access (unauthor...

8 years ago | 0

Answered
Perception based Image Quality Evaluator (PIQE) not working?
This inbuilt function <https://in.mathworks.com/help/images/ref/piqe.html piqe> Introduced in R2018b Which Matlab version yo...

8 years ago | 1

| accepted

Answered
Multivariate Normal Distribution with a 27x27 matrix: Error using mvnpdf (line 67)
I am suspecting some an issue with this line, as If you check the documentation F=mvnpdf([X1(:) X2(:)],mu,Sigma); If...

8 years ago | 0

| accepted

Answered
How to do normalized blue/red ratio operation of an image
What I have seen that the B/R ratio is a gray image, hope it is in the range 0-255 (8 Bit Image) Say b_r is the B/R ratio ima...

8 years ago | 0

Answered
Matrix dimension must agree...how can I solve this problem? Thank you
No error when I simulate the code. What are you trying to do? r=50; d=50; H0=50; l=5; b=5; R=1.33; a=(2*l*H0/pi)^0.5...

8 years ago | 0

| accepted

Load more