VBBV
PEC
Followers: 0 Following: 0
MATLAB enthusiast , Mechanical engineer (MeMe) :-)
Statistics
RANK
59
of 289,751
REPUTATION
3,156
CONTRIBUTIONS
28 Questions
1,213 Answers
ANSWER ACCEPTANCE
89.29%
VOTES RECEIVED
291
RANK
4,379 of 19,582
REPUTATION
312
AVERAGE RATING
3.00
CONTRIBUTIONS
12 Files
DOWNLOADS
45
ALL TIME DOWNLOADS
3029
CONTRIBUTIONS
0 Posts
CONTRIBUTIONS
0 Public Channels
AVERAGE RATING
CONTRIBUTIONS
0 Highlights
AVERAGE NO. OF LIKES
Feeds
Solved
Current through resistor
Three resistors (R2, R3, R4) are connected in parallel as shown in the figure. If this combination is connected in series with ...
10 hours ago
Solved
Basic Mathematics 8
A robot is extending its arm and attempting to reach a game piece that is X” away and Yg ” off the ground. The base of the arm i...
10 hours ago
Solved
Calculate Parallel Resistance
Three resistors connected in parallel have resistances R1, R 2, and R 3, respectively. Return the total resistance R total of ...
11 hours ago
Solved
Find the force required to support a lever
Students are designing a robot that will lift a block to the equilibrium position for transport to the scoring area. They have d...
11 hours ago
Solved
Find the mass of a rod
Determine the mass (in grams) of a rod of length L cm if it is in equilibrium per the diagram. In the diagram L1, L2, L3 are di...
11 hours ago
Solved
Calculate load on arm 1
A robot is designed with a motor directly attached at the pivot point of the lifting arm. The L inch arm has a weight of W1 lbs...
11 hours ago
Solved
Magnitude of Balancing Force
A box weighing W1 pounds is placed where its center of mass is located d1 ft from the fulcrum. A balancing force is placed at th...
11 hours ago
how can i stop this while loop? it doesn;t finish
Another way is to use isequal function if isequal((out.soc_fin(end)-soc_target),1.5) break end
16 hours ago | 0
Turning a double into a scalar
close all; clear all; clc gamma = 1.4; mach = 2.5; theta_a = 0:.1:30; p1 = .2; t1 = 300; t_0 = 675; p_0= 3.417; vm2 = (t...
20 hours ago | 1
| accepted
How to join variables in the title of plot?
title(['PCA scores', num2str(method), num2str(par)]);
1 day ago | 0
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...
2 days ago
Solved
Predict Cricket Stridulation Rate from Air Temperature
Stridulation is the process that creates a cricket's “chirp” by rubbing their wings or legs. According to the Old Farmer's Alma...
2 days ago
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...
2 days ago
Solved
ベクトルの値が増加しているかを調べよう
ベクトルの値が増加している場合 (ベクトルの各要素が前の要素よりも大きい場合) には true を、そうでない場合には false を返すようなコードを書いてみましょう。 例: 入力が x = [-3 0 7] のとき、 関数の...
3 days ago
Solved
文字列の最初と最後の文字だけ抜き出しましょう。
文字列の最初と最後の文字をつなげて返すような関数を作成しましょう。 もし文字が一つしかない場合、その文字は最初と最後の文字のため、関数はその文字を二回返すようにしておきましょう。 例: stringfirstandlast('borin...
3 days ago
Solved
対称で、n*2n のサイズの行列を作成しましょう
サイズが n*2n の "mirror" 行列(対称行列)を作成しましょう。 例: n=2 の場合、以下のような出力を返します。 m = [ 1 2 2 1 1 2 2 1 ] n = 3 の場合、以下のよう...
3 days ago
Solved
NaN (欠損値) が含まれている行を削除しよう
行列 A が与えられたとき、その行列の中に NaN (Not a number; 欠損値) の要素がある行を見つけ出し、その行を削除しましょう。 例: A = [ 1 5 8 -3 NaN 14 ...
3 days ago
Solved
ゼロでない要素が一番多い行を探そう
行列 a が与えられたとき、行列 a の中で一番ゼロの要素が少ない行のインデクス r を返す関数を作成しましょう。このとき、行列 a には一つだけしかこの条件に当てはまる行がないと仮定します。 例: 入力として、行列 a = [ 1 ...
3 days ago
Solved
二乗になっている数を見つけよう
ある数のベクトルが与えられた場合、そのベクトルの要素の一つが他の要素の二乗であれば true を返し、それ以外の場合は false を返すようなコードを書いてみましょう。 例: 入力が a = [2 3 4] のとき、 出力 b は t...
3 days ago
Solved
行列内の素数の平均をとろう
行列が与えられたときに、その行列内の素数の平均を計算する関数を作成しましょう。 例: 入力の行列が in = [ 8 3 5 9 ] のとき、 出力が 4 あるいは (3+5)/2 のようになり...
3 days ago
Subs function doesn't fully replace the values
syms X Y Z W q = [X, Y, Z, W]; q_1 = [1, 2, 3, 4]; phi = [(2*X-W)^2 X^2-2*Y Y*sin(Z)]; J = jacobian(phi,q); disp(J); J_1 =...
3 days ago | 0
| accepted
How to display functions with 2 outputs
a = 212% input('Please enter a number '); disp("Select what conversion you want to do:"); disp('1. Celsius to Fahrenhiet') co...
3 days ago | 1
| accepted
Solved
Bit calculation
Give me the count of numbers from 1 to n having their last two bits as 0. For example function y = ret_count(4) y = x...
3 days ago
Solved
Find the sides of an isosceles triangle when given its area and height from its base to apex
Find the sides of an isosceles triangle when given its area and the height from its base to apex. For example, with A=12 and h=...
3 days ago
Solved
Can we make a triangle?
Given three positive number, check whether a triangle can be made with these sides length or not. remember that in a triangle su...
3 days ago
Solved
Height of a right-angled triangle
Given numbers a, b and c, find the height of the right angled triangle with sides a and b and hypotenuse c, for the base c. If a...
3 days ago
Solved
Calculate the area of a triangle between three points
Calculate the area of a triangle between three points: P1(X1,Y1) P2(X2,Y2) P3(X3,Y3) these three points are the vertices of ...
3 days ago
Solved
テレビのサイズを求めてみよう
あなたは電気屋で働いています。 あなたの電気屋にテレビを買いに来たお客さんに「何インチのテレビを買いたいのか」と質問したところ、対角線の情報しかわからないと言われてしまいました。 しかし、テレビのインチを知るには、幅と高さの情報が必要です。 ...
4 days ago
Solved
特定の値がベクトル内に含まれているかを確認するコードを書こう
ベクトル b にあるスカラ値 a が含まれていれば出力として 1 を返し、含まれていなければ 0 を返すような関数を作成しましょう。 例: a = 3; b = [1,2,4]; スカラ値 3 はベクトル b に含まれていない...
4 days ago