Community Profile

photo

VBBV


PEC

Last seen: Today Aktiv seit 2017

MATLAB enthusiast , Mechanical engineer (MeMe) :-)

Statistiken

All
  • MATLAB Central Treasure Hunt Finisher
  • 36 Month Streak
  • Guiding Light
  • Promoter
  • Solver
  • Personal Best Downloads Level 2
  • First Review
  • Thankful Level 5
  • Knowledgeable Level 5
  • Revival Level 3
  • First Answer
  • 5-Star Galaxy Level 1

Abzeichen anzeigen

Content Feed

Anzeigen nach

Beantwortet
str2double with long string seems to give wrong answer
fprintf('%d',num)

etwa 22 Stunden vor | 0

Beantwortet
Plotting multiple figures using subplot
subplot(3,2,1) plot(rand(2),rand(2)); title('figure 1') subplot(3,2,2) plot(rand(2),rand(2));title('figure 2') subplot(3,2,3...

4 Tage vor | 0

Beantwortet
Need help with resolving the error sym>tomupad
<https://in.mathworks.com/matlabcentral/answers/310042-how-to-convert-symbolic-expressions-to-transfer-functions> Go through ...

4 Tage vor | 0

Beantwortet
File processing dat file returns error
data.Var5 = [];

4 Tage vor | 2

Beantwortet
Centigrade to Fahrenheit Converter doesn't work properly
C = 40; %input('Input the temperature in Celsius that you want to convert to Farenheit:'); C2F(C) function F = C2F(C) F = 1...

5 Tage vor | 0

| akzeptiert

Beantwortet
MATLAB for loop and nested if commands
v = [6, 3, -9, 10, 5, 0, -8, 11, -5]; for k = 1:length(v) if mod(v(k),2)== 0 & v(k) > 0 v(k) = v(k)/2; el...

7 Tage vor | 0

| akzeptiert

Beantwortet
How to use fprintf function to display information properly?
clear; clc; close all; r=10:5:20 h=6:6:30; dvolume=pi.*r.^2.*h'; minvol= 10; %input('Enter the minimum acceptable volume in ...

7 Tage vor | 1

| akzeptiert

Beantwortet
The distance traveled by a ball falling in the air is given by the equation x = x_{0} + v_{0}*t + 1/2 * a * t ^ 2
Here is another simple way to find the position t = 0:0.01:10; % consider a time vector for ball displacement (say 10s) x0 =...

9 Tage vor | 0

Beantwortet
Why matlab is not some varriables within loops
Hi @okoth ochola, You need to sum the operation over entire array f1 inside the for loop r=0.1 R=10 T=10 t=[1:0.1:10]';...

9 Tage vor | 0

| akzeptiert

Beantwortet
How do I create a variable H which contains the product of 5 and the values of B in the 1st and 9th rows, and the 1st and 2nd column.
Do you mean like this ? B=rand(randi([10 20]),randi([5 30])); H = 5*kron(B([1,9]),B([1,2]).')

11 Tage vor | 1

Beantwortet
Error when multiplying an evaluated function
N = 100; L = 1; node = linspace(0,L,N+1); nodes = linspace(0,L,1000*(N+1)); elem = zeros(N,2); for e = 1:N elem(e,1) =...

11 Tage vor | 0

Beantwortet
How do I create a row vector P, that contains the sum of the values in column 2 and the sum of the values in column 5 of matrix B.
B = rand(randi([10,20]),randi([5,30])) P = sum(B(:,[2,5]))

11 Tage vor | 1

| akzeptiert

Beantwortet
How do I graphic
eqn = @(x) (-3+3*x)./x <= 0 fplot(eqn,[-5 5])

11 Tage vor | 0

Beantwortet
I am trying to assign a pattern of alphabets to a sequence of alphabets that I have.
seq_file = fopen('insulinDNAseq.txt'); template5_3 = fscanf(seq_file,'%s'); seq_len = length(template5_3); template3_5 = [fli...

11 Tage vor | 0

Beantwortet
How can I solve Inecuations
syms x real eqn = (3-3*x)/x <= 0 sol = solve(eqn,x)

11 Tage vor | 0

Beantwortet
How to compare these two strings?
try using strcmp function FilteredCIV = CIV(strcmp(CIV.SYMBOL,UnderlyingSymbols.SYMBOL(1)),:); % try using strcmp

12 Tage vor | 0

| akzeptiert

Beantwortet
Manipulate elements in a matrix based on a mathematical condition using logical indexing
A = rand(26,500) % zeros() just used for illustration condition = ( A(26,:) - A(1,:) ) < 0.01; A(:,condition) = A(1); A

13 Tage vor | 0

Beantwortet
Creating an empty figure
tf = isempty(names); if tf == 1 figure % to generate empty plot elseif opt <1 | opt > 3 figure disp("In...

13 Tage vor | 0

Beantwortet
Array indices must be positive integers or logical values.
Matlab arrays are indexed using whole integers, when you give a fractional or decimal values as input it throws such errors cle...

15 Tage vor | 1

Beantwortet
from txt to dat file
Select the desired range in Range field box. i.e. Only the categorical column. It seems you have selected a array of columns in ...

17 Tage vor | 0

Beantwortet
How to make comparison plot in a struct
plot(egoStatesRefTrajectory(m).y(:,1),egoStatesRefTrajectory(m).y(:,2))

18 Tage vor | 0

| akzeptiert

Beantwortet
I am unable to get the deflection of beam correctly and the plot is incorrect.Even when i am using the right code. Also i tryed to distribute my beam into sections.
scale = 50; E= 1.999*10^11; % N/m2 nu = 0.3; I= 7.74.*10^-7; % m^4 H = 0.0762;% m R1 = 2224; % N R2 = 2224; % N P = 222...

18 Tage vor | 0

Beantwortet
how to solve and plot complex equation
b = 3; c = 4; x=0:180; a=b*pi*sin(deg2rad(x))/c; y=(sin(a).^2)./a.^2; plot(x,y)

18 Tage vor | 1

| akzeptiert

Beantwortet
Trying to make a Hiragana guesser
rand=randi(5) switch string(rand) case '1' disp('something') case '2' disp('something') end

19 Tage vor | 0

| akzeptiert

Beantwortet
Call function Callback into myfunction
Use simply the UpdateTableButton inside the function MPV_Calc_Draw_Graph.m file. app.UpdateTableButton and rename the functio...

20 Tage vor | 0

Beantwortet
search for the position of a number inside a cell (cell with existence of empty rows)
Use a | instead of &. OR in place of AND

20 Tage vor | 1

Beantwortet
Latex Font in MATLAB
xlabel('$E_{\it V_{1}}$', 'Interpreter','latex')

21 Tage vor | 0

| akzeptiert

Beantwortet
Converting a cell array to excel file using write table - how to add headers and sheet name?
sheetNames = {'2000', '2001', '2002','2003', '2004', '2005','2006', '2007', '2008','2009', '2010', '2011',... '2012', '2013...

21 Tage vor | 1

Beantwortet
stuck in a small issue related to implementation of an aircraft trim condition code with cost function: error is "TOO MANY INPUT ARGUMENTS"
Few syntax and typo errors that are persistent in your code need to checked. % TRIM.m clear; clc; close all; % x u gamma; ...

21 Tage vor | 0

| akzeptiert

Frage


Unable to comprehend "time" function output
d = caldays(8:10) + hours(1.2345) t = time(d) % this output Is this output returning the difference between time components ...

21 Tage vor | 1 Antwort | 0

1

Antwort

Mehr laden