Answered
How to solve a large sparse matrix Ax=b in load flow annlysis.
x=lsqr(A,b) Read about lsqr here

7 years ago | 0

Answered
Raising value to a power not working properly for some values
I have no idea what results you are expecting. But from the code its OK, there some results are differents. There may be exac...

7 years ago | 1

Answered
Histogram dips on normalization
The given image is quite large, therefor I have checkd with other images and Its works fine. Have you plot it individually? ...

7 years ago | 0

Answered
how to prevent cut-off of upper x-axis label
clc; clear all; close all; x = [1 2 3 4 5]; y = [2 3 4 5 6]; f = figure('Units', 'centimeters', 'Position', [0.1, 3, 15, 15...

7 years ago | 1

| accepted

Answered
What is the difference between 'smooth' and 'filter' function for smoothing?
Smooth: Smooths the data in the column vector using using a moving average filter. Filter is the oparand and smooth is the resul...

7 years ago | 0

| accepted

Answered
Reading a dat file; there is a bug
No error here check it. extention .txt A=importdata('C:\Users\sony\Desktop\test.txt', ','); A.data; A.data(A.data== -9999) = ...

7 years ago | 0

Answered
how to apply the arithmetic mean filter to a medical image to improve it? I have wrote this code but it did not work, there is an error which I could not figure it out.
Avoid multiple for loops, use inbuilt imfilter function for masking operation. The concept is same in all images. For image en...

7 years ago | 2

| accepted

Answered
How to display the corner output of harris corner algorithm in different colour?
I have attached the screenshot of my output her.I don't need this output in white colour.Instead I need it in some other colour....

7 years ago | 0

Answered
Add each element of a matrix
I supposed you are asking simple addition. Say matrix1, matrix2,matrix3,matrix4,matrix5 Matrix addition result the same size ma...

7 years ago | 0

Answered
Exporting plots from Matlab with DXF file
Try this one Link

7 years ago | 1

Answered
How I can evaluate the complexity of coded ofdm system
The question is quite subjective, there are multiple measures taken care of to find the complexity of a code. Also there are num...

7 years ago | 0

Answered
How to select rows with a particular value form one text file and write desired rows in new file?
k=load('test1.txt'); idx=k(:,3)<0.4; k(idx,:) %Next save the file as new name, hope you can do that. %Still if you need help...

7 years ago | 1

| accepted

Answered
how to convert .grd file(ESRI grid format) to Geotiff in Matlab?
Have you tried this one? read the file by using arcgridread and write the file as following geotiffwrite(filename,read_data)...

7 years ago | 1

Answered
where do i need to consider time delay in code?
Time delay (pause) assign depends on your algorithm, why time delay? Regarding check delay, you can in multiple ways, one way u...

7 years ago | 0

Answered
How to write variables values on a figure?
This is an example t=1:.01:10; d=1; % here d is variable dim=[0.5, 0.2, 0.1, 0.1]; %From here you can location the position o...

7 years ago | 2

| accepted

Answered
How can I detect green colors in an image?
See color detection is very vast topic, any color generation based on three components R, G,B. Green color also varies from lo...

7 years ago | 0

Answered
code for wiener filter
wiener2 %Image filter wiener2 Click here fro detail Inbuilt function avaliable.

7 years ago | 0

| accepted

Answered
Comparing the first char of a string in a cell
d={'9S'}; p={'9D'}; result=strncmpi(d,p,1) if result=1, first character is same, else not same. Example: d={'PS'}; p={'Q...

7 years ago | 0

| accepted

Answered
Labeling a set group in a bar graph: how do i get the group on the left have on label such as trial one and the right group labeled as trial 2
a= [2, 3] b= [4,5] bar_vals= [a;b] figure, bar(bar_vals) name={'trial1';'trail2'}; set(gca,'xticklabel',name);

7 years ago | 3

Answered
How to match two images in matlab?
You can do it number of ways matchFeatures 2. compare the two gray images, just subtract one image from other, see th...

7 years ago | 0

Answered
bitget function is not invoking output bits in a vector
Initiallize k=1, otherwise K is not defined k=1; %% k is counter and its chainging even more than (length(A)) for t = 1:1:leng...

7 years ago | 0

Answered
I need to adjust two different size x ray images using 2D transformation.how can i do it? here i attached example digital x ray image.
As suggested by @ImageAnalyst proceed your work. image1=imread('Filename'); % Filename e.g. 1.jpg, If image are dcm format, u...

7 years ago | 0

| accepted

Answered
Rearrange matrix and combination issues
col1=xlsread('text.xlsx','B:B'); col2=xlsread('text.xlsx','D:D'); new_text=[col1 col2]; xlswrite('new_text',new_text);

7 years ago | 0

Answered
Im having trouble loading a program to explore the output using Plot Command
load handel sound (y,Fs) multiplier=0.10 ; noise=randn(length(y),1)*multiplier ; %% Explore This sound_w_noise=y+noise ; ...

7 years ago | 0

Answered
How do I add a condition where the input value of T must be within the upper and lower limit of the data?
clc clear load viscosity_data.dat; x=viscosity_data(1,:); y=viscosity_data(2,:); a = max(x); i = min(x); fprintf('Enter t...

7 years ago | 0

Answered
Why four parameters stick together for PDF and CDF?
May be PDF and CDF are same in that case

7 years ago | 0

| accepted

Answered
How to get entropy values of different images to a graph?
I=imread('test.png'); I2=imread('test.jpg'); x=entropy(I); x2=entropy(I2); bar([x x2]); set(gca,'xticklabel'); title('Ent...

7 years ago | 1

| accepted

Answered
i have 2 images of a same place , second picture is hazy. I want to estimate background of first image and get foreground objects or second image from its L*a*b image and then do illumination of both images. After that i want to fuse them to enhance
In your last comment,you have mentioned that you are interested to background extraction. From your above code, you are dealing ...

7 years ago | 0

| accepted

Answered
imwrite() with PGM option actually write in PBM
Follow this way, its works to write the dicom in pgm format path_directory='dcm_sample_images'; % 'Folder name' original_files...

7 years ago | 0

Load more