Ronny Landsverk
University of Agder
Followers: 0 Following: 0
Feeds
提问
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...
6 years 前 | 1 个回答 | 0
1
个回答已解决
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...
7 years 前
已解决
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...
7 years 前
已解决
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...
7 years 前
已解决
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...
7 years 前
已解决
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...
7 years 前
已解决
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 ...
7 years 前
已解决
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...
7 years 前
已解决
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 ...
7 years 前
已解决
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...
7 years 前
已解决
How to subtract?
*± ± ± ± ± ± ± ± ± ± ±* * Imagine you need to subtract one...
7 years 前
提问
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...
8 years 前 | 1 个回答 | 1
1
个回答提问
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...
8 years 前 | 1 个回答 | 0
1
个回答提问
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 ...
8 years 前 | 1 个回答 | 2
1
个回答提问
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...
9 years 前 | 1 个回答 | 0
1
个回答已回答
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...
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...
10 years 前 | 0
提问
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 ...
10 years 前 | 1 个回答 | 0