Beantwortet
How can I plot this signal?
gm = 0.04; RL = 10000; CL = 10^(-9); f = logspace(-1,2); Av = (-gm*RL)./(1 + RL*CL*f*1i); %magnitude subplot(2,1,1); logl...

mehr als ein Jahr vor | 0

Beantwortet
extraction of the bright blob
grayImage=imread('image_test11.png'); bw_Image=imbinarize(grayImage,0.99); % Change threshold as per desired output biggestBlo...

mehr als ein Jahr vor | 0

| akzeptiert

Beantwortet
Iterating an equation through a range of values to satisfy a condition
Sufficint Hints: X = 11:increment spacing:15; % Initiate the loop. check the increment spacing Y = 1; V_i = 1; % Random ini...

mehr als ein Jahr vor | 0

Beantwortet
How to generate H-matrix at every iterations using for loop i
Hint: using For Loop for i=1:5000 H=sqrt(0.5)*(randn+1i*randn)*(1/sqrt(2)); end If you want to store the H in each it...

mehr als ein Jahr vor | 0

| akzeptiert

Beantwortet
histogram from binary image
What does histogram mean: it counts the number of pixels as per pixel values. Binary number has only 0 and 1 pixel, lets have ex...

mehr als ein Jahr vor | 0

| akzeptiert

Beantwortet
Determining pixel clarity in different images
Image clarity and quality is a subjective topics. There are several ways you can evaluate the quality metric of an image. Are yo...

mehr als ein Jahr vor | 1

Beantwortet
Angle between two 3D vectors
"I need to calculate angles between vector st_direction and each column vector from A matrix, for example:" st_direction =[0.63...

mehr als ein Jahr vor | 1

Beantwortet
Plotting a multivariable function
a_ft=28000; v_cal=0:500; CaltoTrue(a_ft,v_cal) function v_true=CaltoTrue(a_ft,v_cal) a=a_ft*0.3048; b=-0.0065; R=287.05287...

mehr als ein Jahr vor | 1

| akzeptiert

Beantwortet
Using a nested for loop to create a matrix that square roots positive integers and adds 30 to negative integers.
X=[4,-5,13;19,-13,21;-33,77,144] [r,c]=size(X); Y=zeros(length(X)); for i=1:r for j=1:c if X(i,j)>=0 ...

mehr als ein Jahr vor | 0

Beantwortet
how to make an image like this in matlab?
Pls refer the Steve Eddins blogs https://blogs.mathworks.com/steve/2015/12/14/image-based-graphs/

mehr als ein Jahr vor | 2

Beantwortet
Saving images in .FIG format from a source code
for loop i= figure,imshow(Image_file) file_name=['image',num2str(i),'.fig'] savefig(gcf,file_name); % Set an oth...

mehr als ein Jahr vor | 0

Beantwortet
Make a video from images in while loop
#Ensure that all images having same size & format images_data=dir('*.jpg') ; writerObj=VideoWriter('Video_test.avi'); % Chang...

mehr als ein Jahr vor | 0

| akzeptiert

Beantwortet
I don't know how to add the dots
x = [0 : 0.1 : 12] * pi; y = sin(x); z = cos(3 * x); figure(); plot3(x,y,z, '--d','color','b','markerfacecolor','y','markers...

mehr als ein Jahr vor | 0

| akzeptiert

Beantwortet
Fusion of colour PET /MRI image of brain
Important Note: Color is just an perception (Human Eye), color may vary person to person (minor changes in color contrast) There...

mehr als ein Jahr vor | 0

Beantwortet
How to merge matrix in a loop?
% Just example A=rand(4,3); B=rand(4,3); C=rand(4,3); D=rand(4,3); data_mat={A,B,C,D}; % Created to handle data easily N=4...

mehr als ein Jahr vor | 0

Beantwortet
Magic square (( please help))
result=2*magic(3) You have to look for any such possibility for odds too.For any random function or fixed values too, checking...

mehr als ein Jahr vor | 0

Beantwortet
How to save the values of variables during each iteration(for loop) in a single variable?
If output is numeric use Array output=zero(1,total iteration); % Pre-allocate the variable for iter i=1:... output(i)=....Cal...

mehr als ein Jahr vor | 1

| akzeptiert

Beantwortet
Can anyone check my code please?
Sufficints Hint: You can also do this in efficient way, I have shown work till D1 and D2, try the rest part yourself A1=randi(...

mehr als ein Jahr vor | 0

Beantwortet
How can I extract the numbers divisible by 3 from the diagonal of a nxn matrix composed of random integers?
n=input('Choose the number of lines and columns of the square matrix: ') A=randi([100,1000], n, n) D=diag(A) mat=D(mod(D,3)==...

mehr als ein Jahr vor | 1

| akzeptiert

Beantwortet
How do you write a function that imports data from an .xlsx file and saves the data as a .mat?
Load the data using readmatrix function https://in.mathworks.com/help/matlab/ref/readmatrix.html data_excel=readmatrix('file_...

mehr als ein Jahr vor | 0

| akzeptiert

Beantwortet
change the color of the pixels that are present in an image
It can be done in multiple ways, use morphological operations or see the regionprops function (very useful). Easyest way for spe...

mehr als ein Jahr vor | 0

Beantwortet
Exacting a constant range/window of values from a matrix (skipping one cell each time).
data=rand(1000,1); data(25:25:1000)=[]; temp=length(data)/24; cell_data=mat2cell(data,24*ones(1,temp))

mehr als ein Jahr vor | 0

| akzeptiert

Beantwortet
Crop frames in video and apply it on other frames.
As per question you have already done video to frame splits let's consider im1 and im2 have same size images, rxcx3 unit 8 type....

mehr als ein Jahr vor | 0

| akzeptiert

Beantwortet
How do I plot this series?
Change the upper bound value to any finite number f = symsum(an.*cos(100*n*pi*t) + bn.*sin(100*n*pi*t),n,1,100); %..............

mehr als ein Jahr vor | 0

| akzeptiert

Beantwortet
How to set to zero specific elements of a 3D array?
Here if the voxel element is equal to 4, 5 & 50..so on. , all such voxels element will be replaced by 0 (Zero) data= % #3D Arra...

mehr als ein Jahr vor | 0

Beantwortet
How can i get the points within a space defined by vectors (0,0,0), (2,4,1),(0,0,2),(-2,4,-1)?
po=[randi([-2,2]),randi([0,4]),randi([-1,2])]

mehr als ein Jahr vor | 0

Beantwortet
How to calculate peak value and duration of signal in Image
There are many threds sillimar quaestions, calculate the FWHM and time duration of the signal, please refer https://in.mathwor...

mehr als ein Jahr vor | 0

Beantwortet
How to store a color and location in a matrix?
#Easy way (Not Efficient too) test_image=imread('image_file_name.jpeg'); %Change the image file name with format [rows,clom,ch...

mehr als ein Jahr vor | 0

Beantwortet
Finding unique closest point corresponding to latitude and longitude vectors for a given point with shortest distance.
#It can verify from plot too, pls modify as per requirments- PQ=[39.2591200000000 -85.9394200000000 39.2591300000000 ...

mehr als ein Jahr vor | 0

| akzeptiert

Beantwortet
using kalman filter in medical images
Please refer the following link to study about Kalman Filter (MATLAB) https://in.mathworks.com/help/vision/ug/using-kalman-filt...

mehr als ein Jahr vor | 0

Mehr laden