Respondida
convert and represent XYZ color values ​​to their 3d color space
Use the following matlab's built in fcns: xyz2rg(XYZ_DATA) xyz2lab(XYZ_DATA) xyz2rgbwide(XYZ_DATA)

alrededor de 5 años hace | 0

Respondida
finding norm of vector but vector not visible in workspace
You'd need to assign an output or outputs of variables computed within your fcn file, e.g: function u = pdex1 ... That ...

alrededor de 5 años hace | 0

Respondida
save images produced in for loop in a .mat file
Here is the completed code: for i = 1:K1 for j = 1:K2 imageiD(i).reg(j) = registerImage(Moving,Fixed); F...

alrededor de 5 años hace | 0

Respondida
I am facing problems in solving this question... I put my code .. please help
What are the LTI system and the input signal ? LTI system simulation can be done easily with: tf() and lsim(). Example: A = 1...

alrededor de 5 años hace | 0

Respondida
help me to find the last required in this question please
Here is a complete answer to your exercise: https://www.mathworks.com/matlabcentral/answers/618588-determine-whether-or-not-the...

alrededor de 5 años hace | 0

Resuelto


Binary code (array)
Write a function which calculates the binary code of a number 'n' and gives the result as an array(vector). Example: Inpu...

alrededor de 5 años hace

Resuelto


Remove the two elements next to NaN value
The aim is to *remove the two elements next to NaN values* inside a vector. For example: x = [6 10 5 8 9 NaN 23 9 7 3 21 ...

alrededor de 5 años hace

Resuelto


De-dupe
Remove all the redundant elements in a vector, but keep the first occurrence of each value in its original location. So if a =...

alrededor de 5 años hace

Resuelto


Find out sum and carry of Binary adder
Find out sum and carry of a binary adder if previous carry is given with two bits (x and y) for addition. Examples Previo...

alrededor de 5 años hace

Resuelto


How many Integers?
Count the integers in a given vector |v|. You *must* use a loop to count each element separately. Examples: Input: v...

alrededor de 5 años hace

Resuelto


Determine the number of odd integers in a vector
Determine the number of unique odd integers in a vector. Examples: Input x = [2 5 8 3 7 1]; Output y = 4; Inp...

alrededor de 5 años hace

Resuelto


Write a function man that takes a row vector v and returns a matrix H as follows..
Write a function called man that takes a row vector v as an input and returns a matrix H whose first column consist of the eleme...

alrededor de 5 años hace

Resuelto


Duplicate each element of a vector.
for an n-dimensional vector x, the function should return another vector 2n-dimension which each element is repeated twice. Ex...

alrededor de 5 años hace

Resuelto


Return elements unique to either input
Given two numeric inputs a and b, return a row vector that contains the numbers found in only a or only b, but not both. For ex...

alrededor de 5 años hace

Respondida
matlab home edition trial
Here is the link: https://www.mathworks.com/campaigns/products/trials/matlab.html

alrededor de 5 años hace | 0

Respondida
Implementing While loop in Simulink
Simulink 4 has [While Iterator Subsystem] that can be employed for NR simulation model.

alrededor de 5 años hace | 0

Respondida
Find maximum for each Image in table
A = ... % Table of all data B = A.MaxPosition; % Separate out the column

alrededor de 5 años hace | 0

Respondida
Can I encrypt a word document
Should you seek to import a word document into matlab and binarize the document. If this is the case, it is viable and the impor...

alrededor de 5 años hace | 0

Respondida
how to compare similarity of two color images of different sizes?
This question is quite obscure. Similarity of the images can be checked in terms of average of pixel values (color intersity), a...

alrededor de 5 años hace | 0

Respondida
Help with differential equations in matlab ?
You have confused your problem statement and its parameters. Also, there are a few errs. (1) t=[0 2.5 5.6 9.6 14.6 21...

alrededor de 5 años hace | 0

Respondida
Numerical differentiation for function including vector
These answer discussions provide appropriate points how to apply the finite difference method: https://www.mathworks.com/matlab...

alrededor de 5 años hace | 0

Respondida
degenerate mass distribution on its follower side.
If you are using a variable step solver (by default) in your model sim, then you'd need to try with fixed step solver and tighte...

alrededor de 5 años hace | 0

Respondida
couldyou help me about that. I can not handle with this. please describe eveything please
The key err in your model is that you are feeding two different signals, viz. x(t) and dx(t) into State Space model that can acc...

alrededor de 5 años hace | 0

Respondida
How to do grey-box linear time invariant model estimation when poles (and possibly zeros) are known?
If you have your data (measured or experimental data), then you can use system identifcation toolbox that has so many handy and ...

alrededor de 5 años hace | 0

Respondida
how to detect this 2nd peak in a array ?
This can be solved in a relatively simple way, i.e. V = .. % Signal [V1, Index1] = max(V); [V2, Index2] = max(V(1427+5:end...

alrededor de 5 años hace | 0

| aceptada

Respondida
Find a value in a vector
V = [ .......] % Most_V = mode(V); VFinal = [V, mode(V)];

alrededor de 5 años hace | 0

Respondida
Create drop down menu to change values of y on a graph.
Here is a completed code with two dropdown menus: function plotOptions fig = uifigure; fig.Position(3:4) = [440 320]; ax = ...

alrededor de 5 años hace | 1

| aceptada

Respondida
I want to change the for loop to speed up my code
You should correct these for loops, e.g: for n = N % Err. Fix or remove it end ... for k = K % Fi...

alrededor de 5 años hace | 0

Respondida
How I can separate my code and let it run in parallel, because for loop is making the code execution very slowly
If you're planning to embed parallel for loop then the general syntax is: parfor i=1:N V1_new = ... V2_new = ... ...

alrededor de 5 años hace | 0

Respondida
errors in using RESHAPE FUNCTION......PLEASE HELP ME.
Note that while using reshape(), size of an array to be reshaped must be compatible with its being reshape. E.g.: A = randi([0,...

alrededor de 5 años hace | 0

Cargar más