Resuelto


Integer or Float?
Test an input to see whether it is an integer or a floating point number. If it is an integer return 1 for 'true'. Otherwise ret...

más de 9 años hace

Resuelto


Remainder
Make 'y' equal to the remainder of 27 divided by 5. When x=27 and t=5

más de 9 años hace

Resuelto


Complex number
For complex number c=a+bi, write code that will add a and b together.

más de 9 años hace

Resuelto


Find Out sum of principal diagonal element of given matrix
Find out sum of principal diagonal element of given matrix If A=[1 0 0; 0 1 0;0 0 1], then answer must be 3.

más de 9 años hace

Resuelto


Append two matrix as shown below example
Append two matrix as shown below example A=[1 2; 3 4] and B=[5 6;7 8] Answer must be 1 2 5 6 3...

más de 9 años hace

Resuelto


Find out value of sine given by degree.
Find out value of sine given by degree. If theta=30, it's value must be 0.5.

más de 9 años hace

Resuelto


Find out total non zero element of matrix
Find out Non zero element of matrix A=magic(5) 17 24 1 8 15 23 5 7 14 16 4 6...

más de 9 años hace

Resuelto


Replace odd number in given matrix by zero
Replace the odd numbers in a given matrix with zero. Example A = [ 17 24 1 8 15 23 5 7 ...

más de 9 años hace

Resuelto


Wind Chill Computation
On a windy day, a temperature of 15 degrees may feel colder, perhaps 7 degrees. The formula below calculates the "wind chill," i...

más de 9 años hace

Resuelto


Quote Doubler
Given a string s1, find all occurrences of the single quote character and replace them with two occurrences of the single quote ...

más de 9 años hace

Resuelto


Binary numbers
Given a positive, scalar integer n, create a (2^n)-by-n double-precision matrix containing the binary numbers from 0 through 2^n...

más de 9 años hace

Resuelto


Fahrenheit to Celsius using multiple statements
Given a Fahrenheit value F, convert to a Celsius value C. While the equation is C = 5/9 * (F - 32), as an exercise use two state...

más de 9 años hace

Resuelto


Cell joiner
You are given a cell array of strings and a string delimiter. You need to produce one string which is composed of each string fr...

más de 9 años hace

Resuelto


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

más de 9 años hace

Resuelto


Delete 2nd and 5th column of Given 6*6 matrix
Delete the 2nd and 5th columns of the given 6*6 matrix. Example Suppose A = magic(6) 35 1 6 26 19 ...

más de 9 años hace

Pregunta


what cause this error to xlsread randomnly?
I have a script where i load a excel file.Sometimes the file is not loaded and the following error is displayed: Error usin...

más de 9 años hace | 5 respuestas | 1

5

respuestas

Pregunta


how to find area enclosed by points (x,y) where the shape is curved?
I have the following shape where i know the x and y.How can i find the area enclosed to this shape? <</matlabcentral/answ...

más de 9 años hace | 1 respuesta | 1

1

respuesta

Pregunta


how to interpolate/replace these values?
I got the following results from a calculation: <</matlabcentral/answers/uploaded_files/18956/export_fig_out.png>> It ca...

más de 9 años hace | 1 respuesta | 0

1

respuesta

Pregunta


How can it be possible the following calculation have negative values?
I am using the followind code : Output = bsxfun(@rdivide,(x*y'),z).*sqrt(k+n); size(x) = 1x1 size(y) = 1x50 size(z...

más de 9 años hace | 0 respuestas | 0

0

respuestas

Pregunta


How to value value NaN in a 2d matrix?
I have a 2d matrix with some NaN. how to value them? I give some figure to be more understandable: <</matlabcentral/answe...

más de 9 años hace | 2 respuestas | 0

2

respuestas

Pregunta


how to value nan number in a vector? and how to do the same calc in a 2d matrix?
--I have a vactor where some values are NaN.The results are on the following plot(in the red box the nan) : <</matlabcent...

más de 9 años hace | 2 respuestas | 0

2

respuestas

Pregunta


how to search values?
I was wondering if there is a way to find if any value of all my variables have a specific value e.g. NaN or Inf.Using OOP techn...

más de 9 años hace | 2 respuestas | 0

2

respuestas

Pregunta


how to find the local Slope of a curve in each point
how to calculate the local slope degree of this curve in its point having the x and y values of the curve: <</matlabcentra...

más de 9 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Best method to be implimented
Having a couple of equations inside a function. This function has an output.This output is again an input in the same equation u...

más de 9 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Efficient way to impliment this expression
I got the following equation : <</matlabcentral/answers/uploaded_files/18120/equation.png>> Let me assume the follow...

más de 9 años hace | 0 respuestas | 0

0

respuestas

Pregunta


adding matrices with different dimensions
I got an equation similar to this : X-sin(thita). size(X) = 1x50 size(thita) = 1x180. My output should be a matrix of 50x1...

más de 9 años hace | 2 respuestas | 0

2

respuestas

Pregunta


how to optimize a diag matrix with sparse
How to optimize this diagonal matrix using sparse : a=diag([-ones(9,1)],-1)+diag([ones(10,1)])+diag([0 ones(1,4) 0],4)

casi 10 años hace | 1 respuesta | 0

1

respuesta

Pregunta


button in a figure
How to add a button in a figure that changes the line style of a subplot,without using GUIDE?

casi 10 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Displaying image directly from a link to a MATLAB figure
Is there a way to take an image directly from a link and insert it in a figure? To be more clear an example follows: A fu...

casi 10 años hace | 2 respuestas | 0

2

respuestas

Pregunta


Vectorization of for/loop
I have the following code: for ii = 1: length(angles) laminate.ply(ii).angle = angles(ii)/180*pi; laminate.ply(ii)...

casi 10 años hace | 2 respuestas | 0

2

respuestas

Cargar más