Community Profile

photo

VBBV


PEC

Last seen: Today Active since 2017

Followers: 0   Following: 0

Message

MATLAB enthusiast , Mechanical engineer (MeMe) :-)

Statistics

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

View badges

Feeds

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

7 hours ago | 0

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

1 day ago | 0

| accepted

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

2 days ago | 1

| accepted

Answered
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 days ago | 1

| accepted

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

3 days ago | 0

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

5 days ago | 0

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

9 days ago | 0

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

10 days ago | 0

| accepted

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

11 days ago | 0

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

12 days ago | 0

| accepted

Question


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

12 days ago | 0 answers | 0

0

answers

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

15 days ago | 2

| accepted

Answered
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;...

16 days ago | 1

Answered
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 days ago | 0

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

19 days ago | 0

Answered
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)

20 days ago | 0

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

20 days ago | 0

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

20 days ago | 0

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

21 days ago | 0

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

21 days ago | 1

| accepted

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

23 days ago | 0

Answered
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 days ago | 0

| accepted

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

24 days ago | 0

| accepted

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

24 days ago | 0

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

25 days ago | 0

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

28 days ago | 0

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

28 days ago | 0

Answered
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 days ago | 0

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

29 days ago | 1

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

29 days ago | 0

| accepted

Load more