photo

Ronny Landsverk


University of Agder

Last seen: 9 mesi fa Attivo dal 2015

Followers: 0   Following: 0

Messaggio

Statistica

All
  • Solver
  • Thankful Level 1

Visualizza badge

Feeds

Visto da

Domanda


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

oltre 6 anni fa | 1 risposta | 0

1

risposta

Risolto


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

quasi 7 anni fa

Risolto


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

quasi 7 anni fa

Risolto


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

quasi 7 anni fa

Risolto


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

quasi 7 anni fa

Risolto


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

quasi 7 anni fa

Risolto


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

quasi 7 anni fa

Risolto


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

quasi 7 anni fa

Risolto


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

quasi 7 anni fa

Risolto


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

quasi 7 anni fa

Risolto


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

quasi 7 anni fa

Risolto


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

quasi 7 anni fa

Risolto


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

quasi 7 anni fa

Domanda


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

quasi 8 anni fa | 1 risposta | 1

1

risposta

Domanda


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

circa 8 anni fa | 1 risposta | 0

1

risposta

Domanda


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

circa 8 anni fa | 1 risposta | 2

1

risposta

Domanda


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

oltre 9 anni fa | 1 risposta | 0

1

risposta

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

quasi 10 anni fa | 0

Domanda


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

quasi 10 anni fa | 1 risposta | 0

1

risposta