Respondida
How to use the dot product within a loop to multiply a series of rows?!
V = rand(1,3) C = rand(13,3) dot(V,C(1,:)) dot(V,C(2,:)) for i = 1:length(C) d(i) = dot(V,C(i,:)); end ...

casi 12 años hace | 0

| aceptada

Respondida
How can I import data from .csv file with numeric values and texts (with column headers) into MATLAB Workspace?
If you right click on the .csv file you can use the “Import Tool” which will help you through the import process. you will be ab...

casi 12 años hace | 14

Respondida
how to add a frame to a video
Hi Sivakumaran, There are a couple of ways of doing this. - take a frame, add your watermark to it, save that frame, repea...

casi 12 años hace | 0

| aceptada

Respondida
How to create two graphs in difference figure in one function?
Hi Samious, If you use the command figure you will get a new graph. function graph(a,b) x=a y=x^2 ...

casi 12 años hace | 0

| aceptada

Respondida
When will Jacket be merged into Parallel Computing Toolbox?
One way would be to look at the Parallel computing toolbox release notes since R2012b. http://www.mathworks.nl/help/distcomp/...

casi 12 años hace | 0

Respondida
Can somebody help me with this please. I'm stuck due to my limited knowledge on Matlab.
Hi Vidya, You can do a couple of things: - force the inputs to be a particular size so that they add up to 256. - given...

casi 12 años hace | 0

Respondida
How can i add dataset function back in 2013a
Dataset still exists in MATLAB, however you need the Statistics toolbox (this has always been the case). In newer releases th...

casi 12 años hace | 0

Respondida
Code help for data extraction
Hi Nakarsha, There are multiple ways of doing this. Use the Import Tool - in MATLAB, select the text file, right click, im...

casi 12 años hace | 0

Respondida
Can somebody help me with this please. I'm stuck due to my limited knowledge on Matlab.
if you type: size(IDiPWi_double) size(fi_db) You will notice that the sizes do not match and the function needs them...

casi 12 años hace | 0

Respondida
Matlab 2014a instalation on MacOSX Mavericks 10.9.1
Open your system preferences, select privacy settings, and allow the program to be installed even if it is not on itunes. 

casi 12 años hace | 0

Resuelto


Is this triangle right-angled?
Given three positive numbers a, b, c, where c is the largest number, return *true* if the triangle with sides a, b and c is righ...

casi 12 años hace

Respondida
Dicom image reading help
You will need the Image Processing Toolbox. Here is a reference: http://www.mathworks.nl/help/images/ref/dicomread.html On th...

más de 12 años hace | 0

Resuelto


Generate a vector like 1,2,2,3,3,3,4,4,4,4
Generate a vector like 1,2,2,3,3,3,4,4,4,4 So if n = 3, then return [1 2 2 3 3 3] And if n = 5, then return [1 2 2...

casi 13 años hace

Resuelto


Find the longest sequence of 1's in a binary sequence.
Given a string such as s = '011110010000000100010111' find the length of the longest string of consecutive 1's. In this examp...

casi 13 años hace

Resuelto


Check to see if a Sudoku Puzzle is Solved
*Description:* Your task, should you choose to accept it, is to make a function that checks to see if a 9x9 matrix of integer...

casi 13 años hace

Resuelto


Finding Perfect Squares
Given a vector of numbers, return true if one of the numbers is a square of one of the other numbers. Otherwise return false. E...

casi 13 años hace

Resuelto


Read a Soroban Abacus
*Description* The Soroban is the name of the modern Japanese abacus. Information on reading a Soroban can be found <http://we...

casi 13 años hace

Resuelto


Sum all integers from 1 to 2^n
Given the number x, y must be the summation of all integers from 1 to 2^x. For instance if x=2 then y must be 1+2+3+4=10.

casi 13 años hace

Resuelto


Return the 3n+1 sequence for n
A Collatz sequence is the sequence where, for a given number n, the next number in the sequence is either n/2 if the number is e...

alrededor de 13 años hace

Resuelto


Weighted average
Given two lists of numbers, determine the weighted average. Example [1 2 3] and [10 15 20] should result in 33.333...

alrededor de 13 años hace

Resuelto


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

alrededor de 13 años hace

Resuelto


Determine whether a vector is monotonically increasing
Return true if the elements of the input vector increase monotonically (i.e. each element is larger than the previous). Return f...

alrededor de 13 años hace

Resuelto


Make a checkerboard matrix
Given an integer n, make an n-by-n matrix made up of alternating ones and zeros as shown below. The a(1,1) should be 1. Example...

alrededor de 13 años hace

Resuelto


Find all elements less than 0 or greater than 10 and replace them with NaN
Given an input vector x, find all elements of x less than 0 or greater than 10 and replace them with NaN. Example: Input ...

alrededor de 13 años hace

Resuelto


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

alrededor de 13 años hace

Resuelto


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

alrededor de 13 años hace

Resuelto


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

más de 13 años hace

Resuelto


Remove the vowels
Remove all the vowels in the given phrase. Example: Input s1 = 'Jack and Jill went up the hill' Output s2 is 'Jck nd Jll wn...

más de 13 años hace

Resuelto


Create times-tables
At one time or another, we all had to memorize boring times tables. 5 times 5 is 25. 5 times 6 is 30. 12 times 12 is way more th...

más de 13 años hace

Resuelto


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

más de 13 años hace

Cargar más