Computer Science
Computer science is the study and the science of the theoretical foundations of information and computation and their implementation and application in computer systems.
Language
Other Languages
Remove
Platform
Any
License
Any
Well I don't know how the matrix white is generated but I have a code for you. I took the example of a 6x6 matrix with two blocks and it works fine. Here's the code, but in your case, you should...
Hey, I have a 2048x2048 matrix with values of either 0 or 1 which is called "white". I need to find the total number of 3x3 blocks in the matrix where each data point has a value of 1, ie,
1 1...
Yes, but the value you must to generate the exponential should be 1/m instead of m. The population mean of an exponential distribution with parameter m is 1/m. In the matlab exprnd(mu,...) function,...
Hello
I am writing a mex function in C++. The input is an array of arrays. I tried every possible function and technique I found on mex online documentation but nothing worked. Any help will be...
I tried that, but getting an error:
??? In an assignment A(I) = B, the number of elements in B and
I must be the same.
Not really sure what that means, or how to correct it. Thanks.
Does anyone know of a free code available for Single-linkage clustering algorithm?
I am looking to input a .txt file of a 0-1 matrix like the following (but bigger):
010011
011100
010010...
before the loop try
v = zeros()
then for your 'v'
v(n)= fourbfiveb(h)
Hello,
I am new to Matlab and need some help with my matrix. I am currently making a random 4x6 matrix of zeros and ones. Taking each row, and turning it into a decimal number. Then using my...
My aim is to detect a ball when it is seen by the live camera footage or seen in the video file.
So far, i have created a Simulink model where a video file can be selected, then the user can...
I'm working on a piece of code to help me generate plots. Right now I'm focusing on the calculation stuff.
Here's what I need to do.
For each RPMline, calculate the Mach number (M0) for mdotf=.1...
o
c if(A=='q') {
cobol MOVE "hello world" TO A
c++ }
algol END
pascal .
I have created a matrix of calculated values and would like to add row and column headings as illustrated in the attached file. I know that you need to convert the matrix to a string value but I...
Where may I post about Haskell questions? I need some advice on a 2D graph coloring algorithm
Hi... i have two classes with 50 vectors each and i need to classify a new vector to one of them...
can somebody give me the simple steps that Least squares method uses....
for example for the...
Hex numbers are in fact strings to Matlab.
You can access any element of a string using its index.
So, if you have hx = 'A54D'
then you can take its elements and create a matrix.
m =...
maxval
maxval=abs(A(nrow(j),i));
index = j;
end
end
p=index;
%-----------------------------Step 4
if A(nrow(p),i) ==0
display 'No!'...
Its the simple matrix multiplication.
Your inputs
price =
2 3 4
2 4 5
which is 2x3 matrix and
quantity =
4 1
0 2
2 1
which is 3x2...
hi i really need help in this special problem i wanna solve nonlinear problem over 30000000 nodes so i must define function to use fsolve but as you see from nodes i cant save them all separately so...
Here is the assignment i need help with. the assignment (word doc) along with a main code and function file are in a .rar.
thanks
hi
what book do you suggest for writing objective function for genetic algorithm in matlab?
or book that define for writung function for optimization.
tnks a lot
kia
keeyarash@gmail...