Community Profile

photo

Ronny Landsverk


University of Agder

Last seen: 2 meses hace Con actividad desde 2015

Followers: 0   Following: 0

Contacto

Estadísticas

All
  • Solver
  • Thankful Level 1

Ver insignias

Feeds

Ver por

Pregunta


Does different MATLAB versions handle array arithmetic differently ?
In a previous project I did something like x = randn(N,3); % N > 1 x = x - [x,y,z]; % remove "bias", x,y,z are scal...

casi 6 años hace | 1 respuesta | 0

1

respuesta

Resuelto


Who Has the Most Change?
You have a matrix for which each row is a person and the columns represent the number of quarters, nickels, dimes, and pennies t...

más de 6 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. Examp...

más de 6 años hace

Resuelto


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

más de 6 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...

más de 6 años hace

Resuelto


Triangle Numbers
Triangle numbers are the sums of successive integers. So 6 is a triangle number because 6 = 1 + 2 + 3 which can be displa...

más de 6 años hace

Resuelto


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

más de 6 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...

más de 6 años hace

Resuelto


Column Removal
Remove the nth column from input matrix A and return the resulting matrix in output B. So if A = [1 2 3; 4 5 6]; and ...

más de 6 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...

más de 6 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 6 años hace

Resuelto


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

más de 6 años hace

Resuelto


How to subtract?
*&plusmn &plusmn &plusmn &plusmn &plusmn &plusmn &plusmn &plusmn &plusmn &plusmn &plusmn* * Imagine you need to subtract one...

más de 6 años hace

Pregunta


Can we list all possible values for a property of a MATLAB object without going via help/doc ?
To be clear, I will be specific, but the question is for the general case (the more general, the better) Consider that yo...

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

1

respuesta

Pregunta


Anybody know a work-around for plotting multiple-input anonomous functions with fplot ?
Hi. Sometimes I like to have anonymous functions that can take multiple inputs but not necessarily be multivariable. For a triv...

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

1

respuesta

Pregunta


Why is the returning frequency range and scale range inconsistent using CWTFT?
I have a signal with a sampling period dt. The scale-vs-frequency relation for wavelets is approximately sc = fc/(f*dt), where ...

más de 7 años hace | 1 respuesta | 2

1

respuesta

Pregunta


Trouble using ezplot and matlabFunction on a symbolic function defined using symengine "piecewise"
syms x t; MP_syntax1 = 'piecewise([x <= 10, x/10], [10 < x <= 30, (30 - x)/20])'; MP_syntax2 = 'ilaplace(2/s^3,s,t)'; f(x...

alrededor de 9 años hace | 1 respuesta | 0

1

respuesta

Respondida
Using symbolic Matlab-output from functions 'abs' and 'angle' as input for the 'solve'-function
I found a solution. clear; clc; J = 152e-6; % moment of inertia W = 200*pi; % desired crossover freq K = 0.1; % tor...

alrededor de 9 años hace | 0

Pregunta


Using symbolic Matlab-output from functions 'abs' and 'angle' as input for the 'solve'-function
clear; clc; J = 152e-6; % moment of inertia W = 200*pi; % desired crossover freq K = 0.1; % torque constant syms Ki ...

alrededor de 9 años hace | 1 respuesta | 0

1

respuesta