Community Profile

photo

Ganesh Hegade


Active since 2016

Statistics

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

View badges

Content Feed

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

6 years 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)));

6 years 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...

6 years 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

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

7 years 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');

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

7 years 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>

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

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

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

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

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

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

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

7 years 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)); ...

7 years ago | 0

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

7 years ago | 4

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

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

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

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

7 years ago