Solved

Project Euler: Problem 1, Multiples of 3 and 5

If we list all the natural numbers below 10 that are multiples of 3 or 5, we get 3, 5, 6 and 9. The sum of these multiples is 23...

mer än 4 år ago

Answered

Use find to filter for results specified by user

Hi, strcmp is slower then == and you can use == with strings. You can also save space and get better performance by using categ...

Use find to filter for results specified by user

Hi, strcmp is slower then == and you can use == with strings. You can also save space and get better performance by using categ...

mer än 4 år ago | 0

| accepted

Answered

Hi, how can i proceed with this question, everytime i plot it, it doesn't show me my line. Can u guys help me

You are missing . before /. See: https://www.mathworks.com/help/matlab/ref/rdivide.html https://www.mathworks.com/help/matlab/...

Hi, how can i proceed with this question, everytime i plot it, it doesn't show me my line. Can u guys help me

You are missing . before /. See: https://www.mathworks.com/help/matlab/ref/rdivide.html https://www.mathworks.com/help/matlab/...

mer än 4 år ago | 0

| accepted

Answered

Data Tip addition not working

close all; clc figPosition = [0 0 1 1]; data = readtable('FertilitySoloCountries.xlsx', 'PreserveVariableNames', true); year...

Data Tip addition not working

close all; clc figPosition = [0 0 1 1]; data = readtable('FertilitySoloCountries.xlsx', 'PreserveVariableNames', true); year...

mer än 4 år ago | 0

| accepted

Answered

Gtk-Message: 16:17:51.771: Failed to load module "canberra-gtk-module"

See bug reports: https://www.mathworks.com/support/bugreports/details/1995075 "On some Linux distributions, a message appears ...

Gtk-Message: 16:17:51.771: Failed to load module "canberra-gtk-module"

See bug reports: https://www.mathworks.com/support/bugreports/details/1995075 "On some Linux distributions, a message appears ...

mer än 4 år ago | 2

Answered

Gtk-Message: 10:32:31.466: Failed to load module "canberra-gtk-module"

See bug reports: https://www.mathworks.com/support/bugreports/details/1995075 "On some Linux distributions, a message appe...

Gtk-Message: 10:32:31.466: Failed to load module "canberra-gtk-module"

See bug reports: https://www.mathworks.com/support/bugreports/details/1995075 "On some Linux distributions, a message appe...

mer än 4 år ago | 4

Answered

How can I convert csv files to matlab whilst also looping through folders?

Hi, I would try using datastore: https://www.mathworks.com/help/matlab/datastore.html Hope it helps.

How can I convert csv files to matlab whilst also looping through folders?

Hi, I would try using datastore: https://www.mathworks.com/help/matlab/datastore.html Hope it helps.

mer än 5 år ago | 0

Answered

Exception in thread "Thread-5": java.lang.NullPointerException after exiting [Matlab 2018b]

It looks like the known bug. You can find workaround here: https://www.mathworks.com/support/bugreports/1765886

Exception in thread "Thread-5": java.lang.NullPointerException after exiting [Matlab 2018b]

It looks like the known bug. You can find workaround here: https://www.mathworks.com/support/bugreports/1765886

mer än 5 år ago | 4

| accepted

Answered

Formula for calculating marginal risk contributions (video MATLAB for Advanced Portfolio Construction and Stock Selection Models)

Hi, correct formula is in slide number 7.

Formula for calculating marginal risk contributions (video MATLAB for Advanced Portfolio Construction and Stock Selection Models)

Hi, correct formula is in slide number 7.

mer än 6 år ago | 0

| accepted

Answered

Getting result for Bloomberg SRCH function or Excel BSRCH

Hi, I believe this MATLAB function is equivalent to BSRCH: https://www.mathworks.com/help/datafeed/blp.lookup.html Jan

Getting result for Bloomberg SRCH function or Excel BSRCH

Hi, I believe this MATLAB function is equivalent to BSRCH: https://www.mathworks.com/help/datafeed/blp.lookup.html Jan

nästan 7 år ago | 0

Solved

Combine the first and last names

MATLAB R2016 provides a rich set of functions to work with string arrays. In this problem, you will be given two string arrays o...

ungefär 7 år ago

Solved

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

mer än 7 år ago

Solved

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

mer än 7 år ago

Solved

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

mer än 7 år ago

Answered

Remove/Assign products

Hi, maybe your computer cannot connect to MathWorks license server due to firewall. See the answers here: http://www.mathw...

Remove/Assign products

Hi, maybe your computer cannot connect to MathWorks license server due to firewall. See the answers here: http://www.mathw...

mer än 7 år ago | 0

Answered

How to install MATLAB 2016b noninteractively (silent) on macOS

Hi, according to the documentation there should be instructions in the installer properties file template: "For information a...

How to install MATLAB 2016b noninteractively (silent) on macOS

Hi, according to the documentation there should be instructions in the installer properties file template: "For information a...

mer än 7 år ago | 0

Answered

2016b - How to install both DVDs silently?

Hi, there is an answer here: http://www.mathworks.com/matlabcentral/answers/307353 You should download products (not ISO) ...

2016b - How to install both DVDs silently?

Hi, there is an answer here: http://www.mathworks.com/matlabcentral/answers/307353 You should download products (not ISO) ...

mer än 7 år ago | 0

Solved

Pizza!

Given a circular pizza with radius _z_ and thickness _a_, return the pizza's volume. [ _z_ is first input argument.] Non-scor...

mer än 7 år ago

Solved

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

ungefär 8 år ago

Solved

Determine if input is odd

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

mer än 8 år ago

Solved

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

mer än 8 år ago

Solved

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

mer än 8 år ago