Community Profile

photo

Ganesh Hegade


21 total contributions since 2016

Contact

Ganesh Hegade's Badges

  • First Review
  • Thankful Level 1
  • Knowledgeable Level 2
  • First Answer
  • Scavenger Finisher
  • Solver

View details...

Contributions in
View by

Answered
How can I store a value from each iteration of a for loop, ready for plotting?
you can store values like this. height = 150; velocity = 0; acceleration = -9.81; bounce_factor = -0.4; ...

más de 3 años ago | 1

Answered
Find min in matrix given specific rows and columns?
You can use this. minRow = min(min(A(r, :))); minCol = min(min(A(:, c)));

más de 3 años ago | 0

Answered
Find a particular value in an Excel sheet (Activex or xlsread?)
You can get the index below way. [~,txt,~] = xlsread('Filename'); [row,col] = find(cellfun('length',regexp(txt,'31.5 H...

más de 3 años ago | 3

| accepted

Answered
s2y not working for 4x4 matrix
I think its because you are passing 3x3 matrix. As per the s2t function guideline input supposed to be 2x2 matrix. s2t

alrededor de 4 años ago | 0

Question


How to get the order of Simulink blocks based on their pin connection
How to get the order of Simulink blocks based on their pin connection. For Example: From attached Simulink model (This mode...

alrededor de 4 años ago | 1 answer | 0

1

answer

Answered
I need command to close simulink project window after launching simulink project file in matlab 2015b??
You can use close_system command to close Simulink system. close_system('SystemName');

alrededor de 4 años ago | 0

Answered
Cannot change "MaskValues" parameter
Hi, Please try to get the object of the block and assign the properties and check. oBlock = eval(LED); oBlock.SetPr...

más de 4 años ago | 0

Answered
How to compare elements of two different cell array?
You can use ismember function to compare two cells. <https://de.mathworks.com/help/matlab/ref/ismember.html>

más de 4 años ago | 0

Answered
How to save results of a Class-Based Unittest without ToFile Plugin?
Create a test class with test cases classdef Test_Class < matlab.unittest.TestCase Then import the the test classes to ...

más de 4 años ago | 0

| accepted

Question


How to get Command Window format for existing 'Cell Arrays'
I have a Cell-array created and i want to get the command window format for that cell-array. For example: I have created a 5x...

más de 4 años ago | 2 answers | 0

2

answers

Answered
A loop within a loop (for or if)
Hi, I didn't get exactly what you are trying to do. Hope this works. Cm = [Cm1 Cm2 Cm3]; P = 3000 for i=1:3 % B...

más de 4 años ago | 0

Answered
How to loop over a function again?
HI, You are not returning any output from the function loop. function [ShortestPath, TotalCost] = loop(N) global ...

más de 4 años ago | 0

Answered
how can i get a number from a string.
HI, Suppose A = 'index_N=10', then you can get value of index_N by using eval(A); it gives index_N = 10 as output...

más de 4 años ago | 0

Answered
Simple problem using for loop/array
Hi, Please use this. It gives the output as you have requested above. clc; A=0.4; % bond albedo AU=1....

más de 4 años ago | 0

| accepted

Answered
what does line9 ( Newsol.x=pop(S).x.*(1-Cr)+sol.x.*Cr; ) do?
Hi, Line number 9 just assigns new vales to Newsol.x. It means the output sol.x will have a new value (Newsol.x) func...

más de 4 años ago | 0

Answered
how to write the formula ?
HI, Please do the following changes and check. x = (b/ (1.2 + 0.01)); x = fix(x); y = (c / (0.6 + 0.01)); ...

más de 4 años ago | 0

Answered
Logical indexing in cell array
Hi, You can use this strcmp(b, '3');

más de 4 años ago | 2

Answered
Why can't I add title to plot in R2013a?
Hi, Normally for title title(str) title(str,Name,Value) title(ax,___) but the value of lgd = legend('Exam...

más de 4 años ago | 0

| accepted

Answered
I am triying to rearranging the matrix and form one as explained below
Hi, Hope this below piece of code will help you. aSize = size(A); initialValue = A(1); count = 1; temp=[]; f...

más de 4 años ago | 0

| accepted

Answered
Object Oriented Programming, programming a subclass of a handle class
This is the structure. classdef CellArray < handle properties %Write the properties if you want to use any EX: strName en...

más de 4 años ago | 0

Solved


Pizza!
Given a circular pizza with radius _z_ and thickness _a_, return the pizza's volume. [ _z_ is first input argument.] Non-scor...

más de 4 años ago