Pregunta


Frequency Domain Filtering by Convolution Theorem
So the program works but i get warning messages, i attached the imag as well %% 4. Perform frequency domain filtering by Convol...

más de 3 años hace | 1 respuesta | 0

1

respuesta

Respondida
why is my difference image black?...
https://www.mathworks.com/matlabcentral/answers/1467816-why-is-my-difference-image-black#comment_1770511

más de 3 años hace | 0

| aceptada

Pregunta


why is my difference image black?...
the program works but my difference image is just black...did i do something wrong? or is there a way to make it visible? %% ...

más de 3 años hace | 2 respuestas | 0

2

respuestas

Pregunta


Why do I keep getting a black image when i dont use []?
What is the difference between using [] with imshow and dividing an image by a scalar before using imshow fxn? Is my code wrong...

más de 3 años hace | 2 respuestas | 0

2

respuestas

Pregunta


How to change a 3x3 median filter to 5x5?
My code works, but i need a 5x5 filter not 3x3. I tried to alter the code to get the 5x5 but keep getting an error %% 2. Median...

más de 3 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Is there an alternative to 5x5 median filter in MATLAB?
I want the same result, but without using medfilt2 x=imread('sadimg.bmp'); y= medfilt2(x,[5 5])

más de 3 años hace | 2 respuestas | 0

2

respuestas

Pregunta


5 x 5 median filter with out inbuilt function
I am required to use just median() not medfilt2() Please help with the code %% 2. Median Filter sad1=imread('sadimg.bmp'); ...

más de 3 años hace | 1 respuesta | 0

1

respuesta

Pregunta


using median() instead of medfilt2()
I am not sure how to do part b and well hence c as well. can you help with how to code this my teacher requested using median...

más de 3 años hace | 2 respuestas | 0

2

respuestas

Pregunta


histogram specialization, imhist error
%5f)Make CDF of ‘hist_desired’ and ‘hist_xray2’ and store them into ‘cdf_desired’ and ‘cdf_input’ x_ray2=imread('x_ray2.pn...

más de 3 años hace | 1 respuesta | 0

1

respuesta

Pregunta


PWM measurement port conection
Hello! what block I have to connect to PWM generator (2-level 4 - pulses) to measure measurement port output? Thank you in advan...

más de 3 años hace | 1 respuesta | 0

1

respuesta

Pregunta


This is a part of a code and I want to add something to it, description below
%This is a part of a code and I want to add something to it so instead of Deleting all the Users row from Heff that correspondin...

más de 3 años hace | 1 respuesta | 0

1

respuesta

Pregunta


I have a Matrix , and I want to multiply this Matrix with something so I can get zeros
% for an example *(pinv(P1))*P1=unity Matrix I want the same thing : ?*P1=zeros %This ? should be related to P1 like the above...

más de 3 años hace | 2 respuestas | 0

2

respuestas

Pregunta


I want to change the size of T so I can Add it to P2 (the size of T should be the size of P1 or the size of P2)
P1=[3 2 4;2 1 1;5 2 3;2 3 7] P2=[2 6 1;1 3 5;4 2 1;5 2 1]; P1_Zero=pinv(P1) T=P1_Zero*P1 Q=P2+T

más de 3 años hace | 1 respuesta | 0

1

respuesta

Pregunta


hi I want to solve this problem using posted script.
Problem: Another formula for computing "pi" can be deduced from the identity pi/4 = 4arctan1/5— arctan1/239. Determine the numbe...

más de 3 años hace | 1 respuesta | 0

1

respuesta

Pregunta


I want find the reason for this error message.
I am having trouble finding the reason behind this error message. I chechked my function again and again. but do not know why it...

más de 3 años hace | 1 respuesta | 0

1

respuesta

Pregunta


how to draw a directional field for this equation?
I am trying to plot directional field for these differential eq.s a) y’= 0.1y-sin(y) b) y’ = y^2-3*y+1 c) y’ = -y(y-2)(y-4)/...

más de 3 años hace | 1 respuesta | 0

1

respuesta

Pregunta


How to write following equation with "dsolve" command?
I have written the code as below for the equation : on MATLAB command window, syms y(t); eqn = diff(y,t) == t^2/(1+y^2)...

más de 3 años hace | 2 respuestas | 0

2

respuestas

Pregunta


How to write diff (exp(x.*log(x))) on MATLAB command window?
I am trying to compute the derivative using the command diff: syms x diff (exp(x.*log(x))) Error using sym/su...

más de 3 años hace | 0 respuestas | 0

0

respuestas

Pregunta


I want the Mathematics equations for the Genetic Algorithm.
the Mathematics equations for the Genetic Algorithm function

más de 3 años hace | 1 respuesta | 0

1

respuesta

Pregunta


How do I cite Genetic Algorithm in a published journal or paper, because I use it in my code and I wrote about the documentation in my thesis so I want to cite it?
Genetic algorithm solver for mixed-integer or continuous-variable optimization, constrained or unconstrained, Genetic algorithm ...

más de 3 años hace | 1 respuesta | 0

1

respuesta

Pregunta


in the picture below you can find a message which describe what I need to fix in these two equations in the description.
Theta_opt = inv(A + diag(zeta))*b;

más de 3 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Best solution to finding repeating characters on a line.
I am looking for any instances of two characters (e/d) being repeated in a row greater then or equal to 10. I just want to eithe...

más de 3 años hace | 2 respuestas | 3

2

respuestas

Pregunta


I have a problem with my code, it works fine but the results it isn't correct because the code is not compatible with the equations .. description below
clc; clear; M = 60; N = 36; K = 5; x = rand(1,N); theta = (2*pi)*x; % generated randomly Phi = diag(exp(1i*theta...

más de 3 años hace | 1 respuesta | 0

1

respuesta

Pregunta


The Loops in the first picture are required, the description is below
%% Suppose I have W and Theta, k=1:K .. K=(any value) let say 10 %% Alfa_k=zeros(1,k); Al...

más de 3 años hace | 1 respuesta | 0

1

respuesta

Pregunta


I want to return the value of x , description below
%%%%%% I want to return the x value from File 2 to File 1. %%%% File 1 % Total Capacity After Water_filling and Genetic Algo...

más de 3 años hace | 1 respuesta | 0

1

respuesta

Pregunta


matrices multiplication , the description below
% W,H values is for example .. They can be with any dimension but always the number of rows of H is equal to the number of colum...

más de 3 años hace | 1 respuesta | 0

1

respuesta

Pregunta


the description below .. for loop and matrices
% when o=1 I want to multiply the second row of H with the second column of W and sum it with the multiplication of the third ro...

más de 3 años hace | 1 respuesta | 0

1

respuesta

Pregunta


in each iteration I want to get the sum of all elements except of the i element
%% for example in the second itreation (i=2) I want the sum of all elements except the 3 (second element) a=[1 3 2 1 4 2 1 5 1 ...

más de 3 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Wrong solution using solve with a logarithmic
Hello, I wanted to solve an equation containing a log function. The solution given by Matlab is not correct, until I multiply t...

más de 3 años hace | 1 respuesta | 0

1

respuesta

Cargar más