解決済み


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

約4年 前

回答済み
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...

4年以上 前 | 0

| 採用済み

回答済み
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/...

4年以上 前 | 0

| 採用済み

回答済み
Data Tip addition not working
close all; clc figPosition = [0 0 1 1]; data = readtable('FertilitySoloCountries.xlsx', 'PreserveVariableNames', true); year...

4年以上 前 | 0

| 採用済み

回答済み
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 ...

4年以上 前 | 2

回答済み
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...

4年以上 前 | 4

回答済み
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.

5年以上 前 | 0

回答済み
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

5年以上 前 | 4

| 採用済み

回答済み
Formula for calculating marginal risk contributions (video MATLAB for Advanced Portfolio Construction and Stock Selection Models)
Hi, correct formula is in slide number 7.

6年以上 前 | 0

| 採用済み

回答済み
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

6年以上 前 | 0

解決済み


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

約7年 前

解決済み


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年以上 前

解決済み


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年以上 前

解決済み


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年以上 前

回答済み
Remove/Assign products
Hi, maybe your computer cannot connect to MathWorks license server due to firewall. See the answers here: http://www.mathw...

7年以上 前 | 0

回答済み
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...

7年以上 前 | 0

回答済み
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) ...

7年以上 前 | 0

解決済み


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

7年以上 前

解決済み


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

約8年 前

解決済み


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

約8年 前

チャネル


Channel 73834

8年以上 前

解決済み


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

8年以上 前

解決済み


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

8年以上 前

解決済み


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

8年以上 前

解決済み


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

8年以上 前