Answered
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)

5 years ago | 0

Answered
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 ...

5 years ago | 0

Answered
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...

5 years ago | 0

Answered
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...

5 years ago | 0

Answered
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...

5 years ago | 0

Solved


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...

5 years ago

Solved


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 ...

5 years ago

Solved


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 =...

5 years ago

Solved


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...

5 years ago

Solved


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

5 years ago

Solved


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...

5 years ago

Solved


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...

5 years ago

Solved


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...

5 years ago

Solved


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...

5 years ago

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

5 years ago | 0

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

5 years ago | 0

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

5 years ago | 0

Answered
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...

5 years ago | 0

Answered
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...

5 years ago | 0

Answered
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...

5 years ago | 0

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

5 years ago | 0

Answered
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...

5 years ago | 0

Answered
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...

5 years ago | 0

Answered
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 ...

5 years ago | 0

Answered
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...

5 years ago | 0

| accepted

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

5 years ago | 0

Answered
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 = ...

5 years ago | 1

| accepted

Answered
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...

5 years ago | 0

Answered
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 = ... ...

5 years ago | 0

Answered
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,...

5 years ago | 0

Load more