Community Profile

photo

VBBV


PEC

Last seen: Today Con actividad desde 2017

MATLAB enthusiast , Mechanical engineer (MeMe) :-)

Estadísticas

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

Ver insignias

Content Feed

Respondida
How to use Unicode numeric values in regexprep?
regexprep('Häagen-Dasz','ä','A') regexprep('Häagen-Dasz','ä','\x{C4}')

alrededor de 8 horas hace | 0

Respondida
How to determe the Fatigue Damage according Miner's Rule via rainflow counting
Use linspace function in this line and evaluate the damage cigma_delta= linspace(1e-3,2*Yield,length(C_7.Values)); clear a...

alrededor de 9 horas hace | 0

Respondida
Add column in specific number range to available table
A.B(:,1) = (400:2970).'; % use transpose

2 días hace | 0

Respondida
Error in paired t-test between corresponding elements.
% Define the data for two groups group1 = [10, 15, 20, 25, 30]; group2 = [12, 18, 22, 28, 32]; % Initialize array to store ...

3 días hace | 0

| aceptada

Respondida
Unable to perform assignment because brace indexing is not supported for variables of this type
Try the folliowing sLineMajor = simout.logsout.get("<B_x_VS_LaneBoundaries>").Values.LaneBoundaries(IdxLines); vLineWidth{Id...

3 días hace | 0

| aceptada

Respondida
How can I put an output from the display function in a table?
Section = ['254 x 254 x 73';'254 x 146 x 31';'254 x 146 x 31';'254 x 254 x 73';'254 x 254 x 73';'152 x 152 x 51';'152 x 152 x 51...

3 días hace | 0

Respondida
Getting an error message when I use 'triangle()' function.
close all; clearvars; clc; t = 0:0.01:10*pi; f = 5; A = 10; y = A * sawtooth(2*pi*t); figure, plot(t,y); xlim([0 2*pi])

5 días hace | 0

Respondida
Plotting Elastic Modulus Surface for TPMS Structure
direction = [cos(Theta(i))*sin(Phi(i)); sin(Theta(i))*sin(Phi(i)); cos(Phi(i))]

7 días hace | 0

Respondida
How do I get this to display the maximum value of an array?
max = maxval(2:100) function max=maxval(x) a=1; N=length(x); for j=1:N %for loop is not correctly used if x(j)>a ...

8 días hace | 0

Respondida
How to fine numerical gradient
There is another way to find the numerical gradient for the given function clear; clc; xs = linspace(1,2,100); ys = linspace(...

8 días hace | 0

Respondida
problem of solving the PDE
Cut all the lines from 1 till 16 and place it after line 26. Function declarations must be done at the end of the code in your...

8 días hace | 1

Respondida
How to plot five figures with different values?
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % This is a program for 1-D Photonic crystal...

9 días hace | 0

| aceptada

Respondida
How to plot different subplots changing y variable name on each iteration
title(name) If you want to plot the data need to be numeric arrays and not strings

9 días hace | 0

Respondida
Generate list of frequencies evenly spaced in logarithmic plot
F = linspace(0.2,628,100) semilogy(F)

10 días hace | 0

Respondida
Not enough input arguements
anz=height(matrix) Put this line after *readtable* function where you read the data from Excel. The input to the function h...

13 días hace | 0

Respondida
How can I use custom equation in cftool?
In the custom equation, function box , replace the x with z and define the equation as in your case in the box below

14 días hace | 0

| aceptada

Respondida
can someone assist I am struggling to convert the DHI DNI and GHI from W/m^2 to kWh/m^2
% solar irradiation on a HORIZONTAL SURFACE Cn = 0.7; % Clearance index I0 = 1353; % Solar constant latit...

14 días hace | 0

Respondida
"Arrays have incompatible sizes for this operation" with for loop in integral2
input = @(y,s) y; N_it=10; output=cell(1, N_it); output{1}=input; density = @(z,t,s) exp( -(z.^2)./(2.*(s-t)) ./ (sqrt(2...

15 días hace | 0

Respondida
Too many input arguments error when cell2mat and mean functions are used
bb = cell2mat(iniclu(i,1:count(i))); Use a ( ) in place of { }

15 días hace | 1

Respondida
Why won't my function display any of the required text?
%FinalGrade = FinalMark;

16 días hace | 0

| aceptada

Respondida
I I wrote a command but for some reason it only prints the enthalpy value of water
There is a missing semicolon in this line, which makes it to print for each iteration in for loop H_water = (hf_w + hs_w); % a ...

16 días hace | 1

Respondida
Need help to solve following problem.
X_ISMD = 995152.969208341; Y_ISMD = 996113.117131325; X_WGS84 =randn(172,1); Y_WGS84 =randn(172,1); for i = 1:172 D1(i...

16 días hace | 1

| aceptada

Respondida
How to simplify this script
Use abs percentage for error calculation percentage = abs((delta_y_ori-delta_y_raw)/delta_y_ori)*100;

17 días hace | 0

| aceptada

Respondida
how to make the contour line more curvy
xdata % your x data ydata % your y data zdata % your z data v = min(min(zdata)):1:max(max(zdata)) % add finer step size for ...

18 días hace | 0

Respondida
Error code: "Index in position 2 exceeds array bounds (must not exceed 1)." when running code for two-element spring system
K(i,i) = K(i,i) + y(1,1); K(i,j) = K(i,j) + y(1,2);

20 días hace | 0

Respondida
Please I need help on Translating the following formulae into statements: 1) V=10(1− e0.2t ) (2) y =[e3t +t2 sin(4t)]cos2 (3t) Assume t as the row vector
t = 0:0.1:10; x = 10*exp(-0.5*t).*sin(3*t+2); y =exp(3*t)+t.^2 .* sin(4*t).*(cos(3*t)).^2 v = 10*(1-exp(0.2*t))

20 días hace | 0

Respondida
I keep getting the error using '/'.
condition=readmatrix('cases.xlsx','Sheet',1,'Range','A2:C65');

20 días hace | 0

Respondida
Indexing Error Using 'dsolve'
syms t k1 k2 M A0 A(t) dA_dt = 1 * (20 - A) - 3 * diff(A,t) == 0; % Solving for A(t) with different initial conditions A_s...

21 días hace | 0

Cargar más