A résolu


The Goldbach Conjecture, Part 2
The <http://en.wikipedia.org/wiki/Goldbach's_conjecture Goldbach conjecture> asserts that every even integer greater than 2 can ...

plus de 6 ans il y a

A résolu


Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...

plus de 6 ans il y a

A résolu


Is my wife right?
Regardless of input, output the string 'yes'.

plus de 6 ans il y a

A résolu


Pizza!
Given a circular pizza with radius _z_ and thickness _a_, return the pizza's volume. [ _z_ is first input argument.] Non-scor...

plus de 6 ans il y a

A résolu


Select every other element of a vector
Write a function which returns every other element of the vector passed in. That is, it returns the all odd-numbered elements, s...

plus de 6 ans il y a

A résolu


Determine if input is odd
Given the input n, return true if n is odd or false if n is even.

plus de 6 ans il y a

A résolu


Add two numbers
Given a and b, return the sum a+b in c.

plus de 6 ans il y a

A résolu


Make the vector [1 2 3 4 5 6 7 8 9 10]
In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...

plus de 6 ans il y a

A résolu


Fibonacci sequence
Calculate the nth Fibonacci number. Given n, return f where f = fib(n) and f(1) = 1, f(2) = 1, f(3) = 2, ... Examples: Inpu...

plus de 6 ans il y a

A résolu


The Goldbach Conjecture
The <http://en.wikipedia.org/wiki/Goldbach's_conjecture Goldbach conjecture> asserts that every even integer greater than 2 can ...

plus de 6 ans il y a

Réponse apportée
colour intensity from different areas
Hi Intensity of image is given by (R+G+B)/3. You can calculate it using matlab. Refer to this page. https://www.imageeprocess...

plus de 6 ans il y a | 0

| A accepté

Réponse apportée
How to convert sometimes negative decimal matrix to two's complement
Hi You can use num2bin() function to do that. Here is an example. You can check out the functions here to change the parameter...

presque 7 ans il y a | 0

Réponse apportée
Structural similarity for RGB image
Hi, ssim function in matlab does not support RGB images. You will have to convert both images to greyscale image.

presque 7 ans il y a | 0

Réponse apportée
How to pass variables to .app standalone
Hi You can check out this matlab Answers question and see if it helps you. Also you can take a look at KeyInject function to...

presque 7 ans il y a | 0

Réponse apportée
MAtlab 2018b crashes after opening to point of accepting input.
Hi I'm assuming that problem started after installation of 2018b. If so you can contact mathworks. They provide free support fo...

presque 7 ans il y a | 0

Réponse apportée
how can i express the following question in matlab about save command?
Take the input from the user as to whether he wants jpeg or png image using if-else statement. prompt = 'input 1-for jpeg 2-for...

presque 7 ans il y a | 0