Solved


Number Puzzle - 034

3 years ago

Solved


Number Puzzle - 032

3 years ago

Answered
cellの最後の値の座標を求めたい
>データのサイズが異なり、cellの位置が変わるためうまくできません。解決法があるのであれば教えていただきたいです。 読み取り終了位置がファイルの最後の場合、終了行および終了列を指定しなくても自動検出機能を使う事が出来ます。 (読み取り終了位置がファイ...

3 years ago | 1

| accepted

Solved


Find the square of the sum of the digits of a number
If a number (n) is provided as an input, find the square of the sum of the digits of the number. Example If n = 21, the an...

3 years ago

Solved


How many monitors are connected ?
How to obtain the numbers of monitors connected to your computer ?

3 years ago

Solved


Find the Pattern 10

3 years ago

Answered
ワークスペースにある変数をfileの名前に設定したい
文字列の結合 - MATLAB append - MathWorks 日本 文字ベクトルの連結は、['文字ベクトル' '文字ベクトル' ...]の形で書けます。 (因みに文字列の結合は、"文字列" + "文字列" + ... の形で書けます。) ui...

3 years ago | 1

| accepted

Solved


Find and replaces spaces from a input string with *
For a given input string str, find how many spaces are there in the string and replace those spaces with * e.g. str = 'this is ...

3 years ago

Solved


Musical Note Interval 1 - Diatonic Scale
Assuming a simple diatonic C scale, calculate the interval (integer) between two notes (provided as strings). By applying number...

3 years ago

Solved


magic solver
Create a function that returns _true_ and has a cody <http://www.mathworks.com/matlabcentral/cody/problems/256-return-the-size-o...

3 years ago

Solved


Air Mass to Star for an Observer at Mean Sea Level
Air mass is a measure of how much atmosphere light from a source above the atmosphere (eg sun, planet, star) has to travel throu...

3 years ago

Solved


Digito das Dezenas
Dado um número inteiro n, retorne qual o digito referente ao digito das dezenas n = 250; digito = DigitoDezena(n); digito = 5...

3 years ago

Solved


Conversor de Segundos
Digite um valor referente ao tempo em segundos. Retorne um valor com a quantidade convertida em dias, horas, minutos e segundos ...

3 years ago

Solved


Buzz
Dado um número inteiro n, retorne 'buzz' se esse valor for multiplo de 5, ou retorne o valor caso contrario. Buzz(5) = 'buzz'; ...

3 years ago

Solved


Fizz
Dado um número inteiro n, retorne 'fizz' se esse valor for multiplo de 3, ou retorne o valor caso contrario. Fizz(3) = 'fizz'; ...

3 years ago

Answered
進捗報告テキストのリアルタイム表示
進行状況ダイアログ ボックスの作成 - MATLAB uiprogressdlg - MathWorks 日本 fig = uifigure; d = uiprogressdlg(fig,'Icon','membrane.png'); d.Title...

3 years ago | 0

Solved


Find Air Temperature from Cricket Stridulation Rate
Stridulation is the process that creates a cricket's “chirp” by rubbing their wings or legs. According to the Old Farmer's Alma...

3 years ago

Answered
凸多角形の外周を一定距離で囲む凸多角形
polybuffer関数を使います。 なお事前にpolyshape関数でpolyshape オブジェクトを作成する必要があります。 % 元の任意の凸多角形の頂点の座標(既知)から polyshape オブジェクトを作成 polyin = polysh...

3 years ago | 2

| accepted

Solved


Where the Four Corners Am I?
The "Four Corners" region of the US is where Colorado, Utah, Arizona, and New Mexico all meet - the only place where four states...

3 years ago

Solved


A shooting competition
In a shooting competition, the target is a square of side L containing a circle of radius R<=L/2. A player scores one point if h...

3 years ago

Answered
二値画像から縦方向,横方向の最大の長さを求めたい
Image Processing Toolboxがあればbwferet関数で「最大(最小)フェレ径」を測定する事が出来ます。 I = imread('image.png'); BW = imbinarize(rgb2gray(I),'adaptive'...

3 years ago | 1

Answered
二値画像から縦方向,横方向の最大の長さを求めたい
物体の外にノイズの無い画像であればany関数で物体を囲む長方形の座標を求める事が出来ます。 BW = rgb2gray(imread('image.png')) > 127; % すこし複雑な縦長の物体の二値画像 imshow(BW); hold on...

3 years ago | 2

| accepted

Solved


Minkowski distance

3 years ago

Solved


Mean Square Error

3 years ago

Solved


Schwarzschild radius
Compute the Schwarzschild radius for objects of mass m (kg). Use c = 299,792.458 km/s and G = 6.6738*10^-11 N*(m/kg)^2. Your fun...

3 years ago

Solved


Return the sequence element II
Given positive integers x and n, return a positive integer, y, which is the nth term in the <https://en.wikipedia.org/wiki/Juggl...

3 years ago

Solved


Accessing value of variable whose name is stored in another variable as string.
Accessing value of variable whose name is stored in another variable as string. for example: var1=n; var2='var1'; %Assigning...

3 years ago

Answered
エラー「位置1のインデックスが配列範囲を超えています」
https://github.com/clwitham/MacaqueFaces を動かして問題を再現しました。 すると、facebox が空の時に当該エラーが発生していた事が判りました。 >> facebox facebox = 0×4 の空...

3 years ago | 1

Answered
複数のCSVファイルのインポート
(非推奨) コンマ区切り値 (CSV) ファイルの読み取り - MATLAB csvread - MathWorks 日本 >csvread は推奨されません。代わりに readmatrix を使用してください。 P = pwd; % ここではカレント...

3 years ago | 1

Answered
複数のCSVファイルのインポート
どんなファイルの内容か分からないと明確な回答は出来ませんが: タイトル行(項目名など)が含まれると読み込みに失敗します。オフセットを指定する必要があります。 (非推奨) コンマ区切り値 (CSV) ファイルの読み取り - MATLAB csvread ...

3 years ago | 1

| accepted

Load more