Answered
How to convert/project a stack of CT images to a 2d X ray image.
May be <https://in.mathworks.com/help/matlab/visualize/techniques-for-visualizing-scalar-volume-data.html this link> will help y...

8 years ago | 1

| accepted

Answered
How do i check a value is negative and make it into a condition?
matrix(matrix<0)

8 years ago | 0

| accepted

Answered
How do i represent the following equation in matlab?
%This is OK, but there is more smarter way to write this, hope some expert will answer if j==k && phi_s>0 && ...

8 years ago | 0

| accepted

Answered
how do i change a variable name from workspace
new_var_name=old_var_name; clear('old_var_name');

8 years ago | 1

| accepted

Answered
How can i plot roc curve for comparing three segmentation techniques? i have value of tpr, fpr for each segmented image evaluated in comparison with its ground truth. i also have a threshold value for each segmented image. how to plot a roc curve?
* One threshold, calculate the sen and 1-speficity of one image, do the same for another image, get another sen and 1-speficity ...

8 years ago | 2

| accepted

Answered
not providing a fixed input
function c=sum_of_two_numbers(a,b) a=input('Enter the 1st Number \n'); b=input('Enter the 2nd Number \n'); c=a+b; ...

8 years ago | 0

| accepted

Answered
How do i read all the files in a folder?
% Please save all files name in symmetrically before doing the operation % names for example f1,f2,f3... %Save the fo...

8 years ago | 2

| accepted

Answered
counting the correct interval and stop at the end of it
%insert the following code within for loop, when Pd becomes 480, the loop execution stop if Pd==480 return; end

8 years ago | 0

Answered
How do I create range of random elements for a single element in MATLAB?
%Still not getting the exact question, are you looking for this one? %x1-Min voltage value x2-Max voltage value cl...

8 years ago | 1

| accepted

Answered
Please how can i create a circle having it's x, y function and also measured coordinates x',y',r? And any information on the residuals will be appreciated
%Change the value of x,y and radius r clc; clear; close all; r=2; d=2*r; x=0;y=0; %x,y centre of...

8 years ago | 0

| accepted

Answered
How to plot using equations
%here I am considering n is variable %The the valuse are random, you can change the valuse as per disirable s=10; e_a...

8 years ago | 0

| accepted

Answered
Problem regarding image processing in binary image
%% To remove roads LB=2000; seg=bwareaopen(result2,LB); figure, imshow(seg) <</matlabcentral/answers/uploaded_file...

8 years ago | 0

Answered
How to replace half the number of specific element in an array?
A=[1 2 3 4 4 1 2 4 4 3 4 4 4 2 1 3 4 4 4 2 1 4 4]; for i=1:length(A)/2; if A(i)==4 A(i)=2; end end

8 years ago | 1

Answered
How to fix: Index Exceeds Matrix Dimensions
Make following both image having equal size, if required use imresize filenames = dir(fullfile(input_dir, '*.png')); fil...

8 years ago | 0

Answered
Why is my plot not working with the for loop?
clc; close all; n=input('number of turns '); r=input('radius '); h=input('length '); w=input('number of wires ');...

8 years ago | 0

Answered
how does the image laplacian filter change with its shape?
<</matlabcentral/answers/uploaded_files/121267/99.jpg>>

8 years ago | 1

Answered
i had apply morphological processing on an image that is close. i want to color the white part of the binary image that is processed to green. how can i do that
% Disclosure: Help from stackoverflow.com clc; clear all; close all; global I2; I1 = imread('imm2.jpg'); I2 ...

8 years ago | 1

| accepted

Answered
how to draw multidimensional graph (one x-axis and six y-axis)
You cannot do that directly, it is not easy to visualize and understand the graph. *You can visit here to get the idea* <ht...

8 years ago | 0

Answered
Hello.I am trying to use the fsolve in matlb. In order to that i created a function that gives me an error of not enough input argument . apart from x,the remaining input arguments are constant matrices
here all following parameters as inputs x,V,W,Z,center,left,right,j,v,w,z,R,L if you want the only x as input, define fo...

8 years ago | 0

Answered
provide the code in which given image find in 600 images in matlab?
% Save all 600 images name in a sequence manner before doing the operation % names for example im1,im2,im3..or 1,2,3...s...

8 years ago | 0

| accepted

Answered
How to plot intensity like this?
%Do the required operation (filtered as per your question) and plot (with " *hold on*" a statement) in the respective plot, your...

8 years ago | 0

| accepted

Answered
How do i mask green pixels?
% code %Concept Learned from Image Analyst Sir k=imread('flower.jpg'); mask=(k(:,:,2)>k(:,:,1)) & (k(:,:,2)>k(:,:,3)); ...

8 years ago | 1

| accepted

Answered
Error using vertcat "Dimensions of matrices being concatenated are not consistent."
%Note Here [T, sticks_imgcoor] <</matlabcentral/answers/uploaded_files/119966/11.jpg>>

8 years ago | 0

Answered
Detect the changes in two images
Do the Subtractions from each other. Before subtraction convert the both image to double.

8 years ago | 0

Answered
How can i solve non-linear equation?
% code-No Error f=@(x) [3*x(1)*x(2)+x(2)-x(3)-12; x(1)+x(2)*x(1)^2+x(3)-12; x(1)-x(2)-x(3)+2]; x1=[1;1;1]; fsolve(f,x1) ...

8 years ago | 0

| accepted

Answered
generation of noise using pdf's
% code im=im2double(imread('flower.jpg')); noise_add=im+sqrt(0.02)*randn(size(im))+0.6; % You change the above two valu...

8 years ago | 0

Answered
How to quantize an image with threshold 10, 20, 40 and 80.
value=[0 10 20 30 40 80]; quant_result=imquantize(Image_name,value);

8 years ago | 1

Submitted


MATLAB Code ASK-FSK-PSK
Digital Modulation: Matlab code for ASK,FSK and PSK

8 years ago | 0 downloads |

0.0 / 5
Thumbnail

Answered
Why is my MATLAB plot wrong?
Shown Graph the x ranges are different <</matlabcentral/answers/uploaded_files/118412/kk1.jpg>>

8 years ago | 0

Answered
How to display a variable in an output window instead of the command window.
window_1= msgbox(sprintf('The result is %d',variable_name));

8 years ago | 1

| accepted

Load more