Risolto

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

oltre 4 anni fa

Risposto

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

quasi 5 anni fa | 0

| accettato

Risposto

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

quasi 5 anni fa | 0

| accettato

Risposto

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

quasi 5 anni fa | 0

| accettato

Risposto

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

quasi 5 anni fa | 2

Risposto

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

quasi 5 anni fa | 4

Risposto

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.

quasi 6 anni fa | 0

Risposto

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

quasi 6 anni fa | 4

| accettato

Risposto

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.

circa 7 anni fa | 0

| accettato

Risposto

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

oltre 7 anni fa | 0

Risolto

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

oltre 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 8 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 8 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 8 anni fa

Risposto

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

quasi 8 anni fa | 0

Risposto

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

quasi 8 anni fa | 0

Risposto

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

quasi 8 anni fa | 0

Risolto

Pizza!

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

circa 8 anni fa

Risolto

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

oltre 8 anni fa

Risolto

Determine if input is odd

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

quasi 9 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 9 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 9 anni fa