Community Profile

photo

VBBV


PEC

Last seen: Today Aktiv seit 2017

Followers: 0   Following: 0

Kontakt

MATLAB enthusiast , Mechanical engineer (MeMe) :-)

Statistiken

All
  • MATLAB Central Treasure Hunt Finisher
  • 36 Month Streak
  • Guiding Light
  • CUP Challenge Master
  • Creator
  • Personal Best Downloads Level 2
  • First Review
  • Introduction to MATLAB Master
  • Commenter
  • Community Group Solver
  • Thankful Level 5
  • Knowledgeable Level 5

Abzeichen anzeigen

Feeds

Anzeigen nach

Beantwortet
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

etwa 5 Stunden vor | 0

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

etwa 9 Stunden vor | 1

| akzeptiert

Beantwortet
How to join variables in the title of plot?
title(['PCA scores', num2str(method), num2str(par)]);

ein Tag vor | 0

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

2 Tage vor | 0

| akzeptiert

Beantwortet
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 Tage vor | 1

| akzeptiert

Beantwortet
plot legend shows wrong linespec
d = load('data.mat') %figure plot(d.t,repmat(d.molTot,length(d.t),1),'-rx',d.t,d.molGas,'-bo'); legend('a','b')

3 Tage vor | 1

| akzeptiert

Beantwortet
for loops within while loop
while t1< 2 & h2 >= 0 % your code end You could put both conditions together as above using single while loop.

4 Tage vor | 0

Beantwortet
How to Generate Subscripted Arrays in Live Scripts
\left(\begin{array}{ccc} z_{1} & z_{2} & z_{3} \end{array}\right)

5 Tage vor | 0

Beantwortet
I am having trouble trying to maintain the loop
@Yogesh when array sizes dont match , those errors occur. check the array dimensions in for loop Nt=161224; dt=6e-12; T=9.673...

10 Tage vor | 0

Beantwortet
how to create a function to solve a series of equitions?
if you have symbolic toolbox then you can define it inside the function as function [a,b,c] = EqSol(var1,var2,var3,var4,var5,va...

11 Tage vor | 0

| akzeptiert

Beantwortet
How to Fix "Warning: Colon operands must be real scalars" Warning
for k = 1:numel(ply_nums_range) ply_nums = ply_nums_range(k); % for i = 1:length(data) b = data(...

12 Tage vor | 0

Beantwortet
Error using symsum and arrays for summing over array elements
trial = symsum( array(double(q)).*q.^2 , q,2,7)

13 Tage vor | 0

| akzeptiert

Frage


Why is Run button not visible ?
Look at the snapshot attached Does anyone know why the run button is not visible this way?

13 Tage vor | 0 Antworten | 0

0

Antworten

Beantwortet
'InitalLearnRate' is not an option for solver 'sgdm'.
options = trainingOptions('sgdm', ... 'MiniBatchSize',128, ... 'MaxEpochs',1, ... 'InitialLearn...

16 Tage vor | 2

| akzeptiert

Beantwortet
ideal-gas specific heats of various common gases function of temperature
Hi @재훈 if you consider a change in sign for the last term it would result in 1.005 M = 28.9; % assune T = 273.15; a=28.11;...

17 Tage vor | 1

Beantwortet
Calculating a Fourier series with MATLAB manually problem
clear all close all hidden clc syms t % time syms n % number of terms to calculate the sum to syms T % period syms a_n(t, ...

19 Tage vor | 0

Beantwortet
Square wave with randomly varying frequency
To make it appear square, you need to delete the 2*pi part in the square function, and use randi instead of rand for scalar ...

20 Tage vor | 0

Beantwortet
Not getting the expected size matrix from evaluating a function handle that is equal to zero
h = @(x,y) zeros(10) [X, Y] = meshgrid(linspace(0, 2, 10)); Z = h(X,Y)

21 Tage vor | 0

Beantwortet
Unable to convert expression into double array. Cannot use quiver.
@Tai Nguyen, Use a different variable name for meshgrid outputs and use subs for symbolic expressions to replace with numeric ar...

21 Tage vor | 0

Beantwortet
Filters in pop up menu
Hi @Basanagouda Kenchanagoudra, You can use switch-case inside the Callback as shown below Item = get(handles.Module_PopUp,'S...

21 Tage vor | 0

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

22 Tage vor | 0

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

22 Tage vor | 1

| akzeptiert

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

23 Tage vor | 0

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

24 Tage vor | 0

| akzeptiert

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

25 Tage vor | 0

| akzeptiert

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

25 Tage vor | 0

Beantwortet
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])

26 Tage vor | 0

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

28 Tage vor | 0

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

29 Tage vor | 0

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

29 Tage vor | 0

Mehr laden